Use PowerShell to change user roaming profile locations

Here’s a script I used recently to change users’ roaming profile paths from one server (\\OLDSERVER) to another (\\NEWSERVER). It identifies the old server by comparing strings with a search term and only changes those. It also doesn’t just fire and forget – it stops every 5 records to confirm you wish to continue.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">