The following command is an easy way to reset all passwords in an OU back to a default password. This is especially helpful at the beginning of the school year:
dsquery user -limit 0 ou=2018,ou=Users,ou=Students,=domain,dc=com | dsmod user -pwd newPa$$w0rD -mustchpwd yes
No comments:
Post a Comment