I need to write a script that will remap a users home folder. For example I have users home folders on server1. In Active dir the path in their users profile is H:\server1\users\username.
Those files are replicated to server2 for disaster recovery. If server1 blows we need a script that will redirect users home folder and profile path from server1 which is where Active Directory will try and send them to server2.