OK, I know PS2 is obsolete, however, I have no choice, so no flames please.
I have configured a task to run a PowerShell Script which does extensive logging via Start-Transcript. What I have noticed is that each line of the log file is truncated to 80 characters. Not the end of the world, but I am looking for a way/setting to have it honor the string length sent to the log file.
If I run the script from a command shell, it honors the Width setting of the shell under properties. That seems to be where the 80 char line limit is coming from. I tried changing the setting for the user running the script, but the task still truncates at 80 chars.
I also did not see any options to Start-Transcript that would be relevant. Again, not the end of the world, it just makes for an ugly log file. If there is a way around this, I would greatly appreciate the setting that will help.