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?
when in doubt, read documentation. set-aduser
parameters you're looking -homedirectory
, -homedrive
:
set-aduser -identity username -homedrive 'p:' -homedirectory '\\server\share\username'
Comments
Post a Comment