How do I stop this command from dumping carriage returns into my output:
get-content inFILE | select-string "string" > outFILE
Text that was non-wrapped or lacking carriage return suddenly has a carriage return at the 80th character per line. Is there a directive I can use to stop it from doing this to my output?
get-content inFILE | select-string "string" | set-string outFILE
was effective in eliminating carriage returns from my output.