powershell - Active Directory Change Home Folder Path using Power Shell -


i trying change home folder path , assign letter using power shell. using set-aduser in powershell change other parameters in ad. how assign drive letter , assign path well?

enter image description here

when in doubt, read documentation. set-aduser parameters you're looking -homedirectory , -homedrive:

set-aduser -identity username -homedrive 'p:' -homedirectory '\\server\share\username' 

Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -