I have a printer installed using an old ip address and I need to do a complete search of the registry and replace the old IP with the new IP. Normally, this would've been done manually but I have many such machines and I'd like to do it via script if possible.
To better ilustrate the expected result, take the following key:
Which has a value called LocationInformation and a value of http.//172.28.208.10:5358/DeviceService/
The script should search the registry for the OLD IP and, if exists, replace it with the NEW IP.
The IP addresses are stored in a text file (ip.txt) as follows:
OLD IP NEW IP
Thank you for all your help