Create a new random password.
New-RDMStandalonePassword [-Mode] <PasswordGeneratorMode> [<CommonParameters>]
Create a new random password. Usable in RDM, DS or Hub workflows. Passphrase mode does not support custom dictionaries.
PS C:\> $pwd = New-RDMStandalonePassword -Mode Default -MinimumLength 16 -MinimumDigit 2
Generate a random password with default mode (minimum 16 characters, at least 2 digits).
PS C:\> $pwd = New-RDMStandalonePassword -Mode Strong
Generate a strong random password with default settings.
PS C:\> $pwd = New-RDMStandalonePassword -Mode Passphrase -WordCount 6 -Dictionary French
Generate a passphrase with 6 French words separated by hyphens.
PS C:\> $pwd = New-RDMStandalonePassword -Mode Pattern -Pattern "uuullldddd" -Shuffle
Generate a password from pattern (3 uppercase, 3 lowercase, 4 digits) and shuffle the result
PS C:\> $pwd = New-RDMStandalonePassword -Mode SpecifiedSettings -Length 20 -Digit 4 -Uppercase 4 -Lowercase 8 -Special 4
Generate a password with exact character counts (20 total: 4 digits, 4 uppercase, 8 lowercase, 4 special).
PS C:\> $pwd = New-RDMStandalonePassword -Mode HumanReadable -Syllables 3 -Digit 2 -Symbols 1
Generate a human-readable password with 3 syllables, 2 numbers, and 1 symbol.
PS C:\> $pwd = New-RDMStandalonePassword -Mode Pronounceable -MinimumLength 12 -CaseMode MixedCase
Generate a pronounceable password (12 characters) with mixed case.
Type: System.Nullable`1[Devolutions.RemoteDesktopManager.PasswordGeneratorMode]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
For more information, type "Get-Help New-RDMStandalonePassword -detailed". For technical information, type "Get-Help New-RDMStandalonePassword -full".