Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Changing Users Home directory Via powershell getting Z: instead of intended drive letter.

$
0
0

So, changing users home directory path - users are moving to a new server.

I am trying to change the path by using the command

set-aduser $user -homedirectory \\blahblah\user\username -homedrive F

the user folder has been created in the new location with correct rights

AD shows the correct path and drive letter on the profile tab.

When the user logs in, they still have the old f: drive mapped to the old location and the new location is mapped to the z:

Anyone see anything like this before?


Viewing all articles
Browse latest Browse all 15028

Trending Articles