Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Param([string]$fileName, [string]$find, [string]$replace)
- (Get-Content $fileName -encoding UTF8) | foreach-object {
- $_ -replace $find, $replace
- } | Set-Content $fileName -encoding UTF8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement