Created
November 11, 2017 17:14
-
-
Save Hugoberry/f5904c4a8279840f341742d30c5d9a9e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$InFile = 'Filename.txt' | |
$OutFile = 'Filename2.txt' | |
filter replace-chars { $_ -replace '\^',';' } | |
if (test-path $OutFile) | |
{ Clear-Content $OutFile } | |
Get-Content $InFile -ReadCount 1000 | | |
replace-chars | | |
Add-Content $OutFile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment