Thursday, October 18, 2012

Reset all users passwords in an OU


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:

Windows 11 Network Refresh Without Reboot

# Full-Network-Reset.ps1 # Run as Administrator for full effect Write-Host "Restarting network adapters..." -ForegroundColor C...