Dump usernames from AD into a csv, then create a batch file using the line below (for eg). Make sure it you dump actual logon ids, NOT display names etc
FOR "tokens=1 delims=," /F %I in (amsusers.csv) do NET USER %I Password77 /DOMAIN
For "Password77" enter your desired password.
No comments:
Post a Comment