SyntaxFix
Write A Post
Hire A Developer
Questions
(Get-Content c:\FileWithEmptyLines.txt) | Foreach { $_ -Replace "Old content", " New content" } | Set-Content c:\FileWithEmptyLines.txt;