Powershell script to update Paths in many logon scripts (batch files)
In some cases you may need to change paths in many logon scripts (batch files). This script automates the task of changing one path to another in many batch files. If you have a source path that’s a subset of another, run the larger one first. For example if an old path is ‘\\server1\archive’ and another old path is ‘\\server1\archive2’, run the ‘\\server1\archive2’ first.
Sample script output:
As usual script output is saved to log/text file for future reference.