Gainz-PasswordGenerator
0.1.2
Provides a new cryptographically generated password. By default, this function will return an array of characters since strings are immutable.
# Returns a secure string
$pw = New-Password -Length 16 -AsSecureString
PARAMETERS
Chars - Optional. An string of characters to use to build the password.
CharSets - Optional. An array of choices that leverages
Provides a new cryptographically generated password. By default, this function will return an array of characters since strings are immutable.
# Returns a secure string
$pw = New-Password -Length 16 -AsSecureString
PARAMETERS
Chars - Optional. An string of characters to use to build the password.
CharSets - Optional. An array of choices that leverages a group of characters to use to build
the password. The default is "LatinAlphaUpperCase", "LatinAlphaLowerCase", "Digits", "SpecialHybrid"
Length - Optional. The length of the password that is generated. The default is 16
Validate - Optional. A script block that validates the password to ensure it meets
standards. The default checks for one uppercase, one lowercase, one digit,
one special character.
AsSecureString - A flag that instructs the result to be returned as a SecureString.
AsString - A flag that instructs the result to be returned as a string.
Installation Options
Owners
Copyright
(c) 2018 Nerdy Mishka. All rights reserved.
Package Details
Author(s)
- Nerdy Mishka Michael Herndon
Tags
Password Generator Password-Generator DevOps Gainz NerdyMishka
Functions
Dependencies
This module has no dependencies.
Release Notes
0.1.0 - Early Release
A future release should allow entropy and generating passwords by supplying a pattern.
FileList
- Gainz-PasswordGenerator.nuspec
- Gainz-PasswordGenerator.psd1
- Gainz-PasswordGenerator.psm1
- public\Merge-PasswordCharsets.ps1
- public\New-Password.ps1
- public\Test-Password.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
0.1.3 | 2,217 | 3/17/2019 |
0.1.2 (current version) | 259 | 8/13/2018 |
0.1.1 | 21 | 8/13/2018 |
0.1.0 | 24 | 8/13/2018 |