|
Re: Redirecting function contents to a file truncates function lines at the width of the console The redirector operator uses out-file underneath. Try this:
gc function:foo | out-file filename -width 120
There are other parameters on out-file that allow you to controls things
like encoding, appending, etc.
--
Keith |