- Add an invisible
-Force
parameter. It does nothing except prevent people who type-AsPlainText -Force
(as you're forced to do withConvertTo-SecureString
) from causing an error.
- This version is more secure, as the generated password is now built in memory as a
[SecureString]
, and only converted from one when this cmdlet is run with-AsPlainText
. - Added a new
-ExcludeCharacters
parameter which does as it says; generated passwords will not include those characters. Thanks to GitHub user @wwc-trevor for the great idea and for testing my work. - Packaging improvements.
- We can now generate human-friendly passwords from wordlists.
- This cmdlet has been renamed
Get-RandomPassword
, as "Get" is a better verb than "New" in this case.
Generated passwords are now properly removed from memory once they are displayed to the user. Previously, this did not work, and would occasionally create a spurious error message.
- Initial public release to GitHub and PowerShell Gallery.
- Made
SecureString
output the default, with the-AsPlainText
parameter introduced to emulate the earlier behavior from the 1.x versions. - Help! There's help now. Plenty of it.
These versions were a single script that this author used for his own use, and probably shared it with a few friends and colleagues. They weren't released publicly.