Bulk Reset AD Passwords

Have you ever need to bulk reset all user passwords, which were located in an OU?

The following PowerShell command does just that.

DSQUERY user “OU=GuestUsers,OU=Users,DC=PLEXUK,DC=CO,DC=UK” -limit 0 | DSMOD user -pwd password123

Simply type the following command into PowerShell, and modify it to point to your OU.

And all users will have their password reset.

Comments are closed.