So i have this powershell...
pushd "C:\PSF\Move to V6\DTT Files"
$configFiles = Get-ChildItem . *.dtt -rec
foreach ($file in $configFiles)
{
(Get-Content $file.PSPath) |
Foreach-Object { $_ -replace "OLD", "NEW" } |
Set-Content $file.PSPath
(Get-Content $file.PSPath) |
Foreach-Object { $_ -replace "OLD2", "NEW2" } |
Set-Content $file.PSPath
(Get-Content $file.PSPath) |
Foreach-Object { $_ -replace "OLD3", "NEW3" } |
Set-Content $file.PSPath
}
What i am hoping to do is have it pop up with a few boxes asking what you want: New, New2 and New3 to be specificly.
I am very new to powershell so i am clueless when it comes to doing something like that. (Or even if you can)
If it's not possible, i will accept suggestions for other things i can do in place of doing this.