Find a User in Active Directory or Reset Password – Command Line

Find a user in Active Directory using Command Line

dsquery user -name “jdoe”

 

Reset a user’s password

dsmod user “CN=John Doe,OU=Users,DC=domain,DC=com” -pwd NewPass123 -mustchpwd yes

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *