Password Generator to change users PW
Script will prompt for username. Uses a powershell command to randomly generate a password. Replaces the password for the user using a “net user” command.
Password gets stored in a custom field named “CF Local Admin PW”. This can be changed by editing the last line of the script. If you want to use the default name, a field with that name must exist before importing the script.