Password Generator to change Admin PW
Script will prompt for admin user name. Uses a Powershell command to randomly generate a password. Replaces the password for the user using a "net user" command. Also creates user if it doesn’t exist, as well as add that user to Admin Group. 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.