8

Using Powershell to bulk change the Home folder path of AD objects - %username"?

view full story
linux-howto

http://serverfault.com – I have done a lot of searching on this, and still cannot find the answer. I have created a script which will bulk move all user objects in one OU to another OU. This works fine. Now I am trying to bulk change those users' Home Folder paths (and drive letter). So far, I can get the script to change the path/drive letter correctly, but I cannot get it to add the user's logon name to the end of the path (\server\share\username). The users' Home folders are named after their logon names. Normally, we would do this on an individual basis by just putting \server\share\%username% in the Home folder (HowTos)