In my enterprise I use pxexec to run scripts remotely on multiple servers. I have created several batch scripts to perform actions across multiple servers.
I would like to create a script which can run using psexec remotely across servers and perform bulk xml changes across multiple servers.
All the remote servers have xml files which I need to edit using an automated script.
Attached is an example of such an xml.
I want to change values like databaseName= or password= to a new value.
For a start, I would like to find a way to perform a change wherein I want to automatically change the password=efgh to a say new value password=lmno without loosing the consistency of the xml file.
I tried to do it using batch script but does not work as expected.
Any help would be much appreciated.