Modify every line of a file using PowerShell
get-content text1.txt | % { $_ -replace “\|”, “” } | % { $_ -replace ” “, “” } > text2.txt
This was written by
Edward Delaporte. Posted on
Wednesday, November 21, 2007, at November 21. Filed under Uncategorized. Bookmark the
permalink. Follow comments here with the
RSS feed. Both comments and trackbacks are currently closed.