I discovered that my script to generate passwords, RandomPW.vbs, isn’t popular with users because the passwords are random. I have an even more complicated but unposted PowerShell version with the same issue.
I wanted to create something that was easier for the help desk and users. Get-TempPW.ps1 is my answer to those objections. This script is pretty well commented, so I won’t go into details about the code here. What the script does is get a randomly selected word from the web, capitalizes a random letter within the word, then appends numbers and special characters to the end. You can set the minimum word length and the number of numbers and special characters with variables within the code. The default is and eight character word plus a number and special character. The order of the numbers and special characters are randomized. An example password is “hypeRimmunization4&”.