I have a problem with replace text in Powershell. For e.g.
When I use:
(Get-Content C:\TEMP\App.config) -replace "one","two" | Set-Content C:\TEMP\App.config
it works. But when I use:
(Get-Content C:\TEMP\App.config) -replace "C:\Program Files (x86)\Adobe\Acrobat Reader 10\Reader\AcroRd32.exe","C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe" | Set-Content C:\TEMP\App.config
is doesn't work. I search a lot of info in Google or documentation but still have a problem.
Can anybody help? :-)