SAM IT
asked on
Set-ADUser -Clear HomeDirectory
Hello,
using below command line I can clear AD ID home folder path and set it to local path. I tried this script to execute on multiple users using import-csv with some variable , but its giving an error $importusers = get-content "C:\Users\Administrator\De sktop\new requriment\input.csv" |Set-ADUser $importusers -Clear HomeDirectory
Set-ADUser : Cannot validate argument on parameter 'Identity'. The argument is null. Supply a non-null argument and try the command again
Thanks in advance
using below command line I can clear AD ID home folder path and set it to local path. I tried this script to execute on multiple users using import-csv with some variable , but its giving an error $importusers = get-content "C:\Users\Administrator\De
Set-ADUser : Cannot validate argument on parameter 'Identity'. The argument is null. Supply a non-null argument and try the command again
Thanks in advance
Set-ADUser testuser -Clear HomeDirectory
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
@SAM IT - You should either provide your solution, or delete the question. Otherwise, this question is of no value.