Is there a way in PowerShell to change the Out-File width max amount in a text file so that more than 1500 characters are put on one row without wrapp

O

odennis1

Hello,


I am trying to out-file a lot of long lines SQL script into a text file and I need each line to be its own continuous line. What is happening is after 1500 characters, a new line is created. This is messing with my SQL script because it is separating column names and giving me errors. Is there a quick "Out-String" or "Out-File" attribute that I can add to increase this number to whatever the max is so that I can keep each line separate?


Thank you!

Owen

Continue reading...
 
Back
Top Bottom