azurecloud.sh
Sunday, December 7, 2014
Unlock a Domain User from CMD Line
To unlock a domain user from the command line, use this command:
net user <username> /domain /active:yes
This can also be done using Powershell:
Unlock-ADAccount -identity "CN=John,OU=myUsers,DC=myDomain,DC=local"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment