We recently updated our
Terms and Conditions for TechRepublic Premium.
By clicking continue, you agree to these updated terms.
Invalid email/username and password combination supplied.
An email has been sent to you with instructions on how to reset your password.
Welcome to TechRepublic!
All fields are required. Username must be unique. Password must be a minimum of 6 characters and have any 3 of the 4 items: a number (0 through 9), a special character (such as !, $, #, %), an uppercase character (A through Z) or a lowercase (a through z) character (no spaces).
In a Win2K3 AD environment you can use dsquery user to find the users (e.g. in a specific OU) and pipe the results of that to a dsmod user command.
dsquery user “OU=Sales,OU=New York,dc=internal,dc=AcmeCorp,dc=com” -limit 200 | dsmod user -pwd ChangeThisNow! -u NetAdmin -p NetAdminPassword- mustchpwd yes
There are other ways using dsget and dsquery to create a text file that you can then import into excel and create the commands for each user, one per row and save as 1 big batch file. Inelegant, but effective.