I wrote a simple vb script that utilizes the famous pstools pspasswd utility, it's fairly dirty but it gets the job done.
The script reads the computer names from a file, picks a random 20 character password, changes the local administrator password with pspasswd and then logs the passwords to a CSV called "passwords.csv".
Syntax: cscript changepass.vbs <computernamelist.txt>
You can download the package from my Github
No comments:
Post a Comment