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

command line - Use qwinsta in PowerShell ISE -

java - Incorrect order of records in M-M relationship in hibernate -

Python website log in: BIG-IP can not find session information in the request -