none
Search and Replace text in file using PowerShell RRS feed

  • Question

  • I want to schedule a script in PowerShell to search a directory for an XML file for a particular text string and replace it with a different text string and then save the file with the same name, the name of the file will change each time the script is run on a daily basis. There will only be one XML file in the location when the scheduled script is run.

    I have never used PowerShell but am familiar with batch file commands, can anyone please help!!


    KevinS

    Thursday, April 10, 2014 2:20 PM

Answers

All replies