Add-RDMForbiddenPasswordList
Synopsis
Add a forbidden password list.
Syntax
__AllParameterSets
Add-RDMForbiddenPasswordList [-Name] <string> [[-Password] <PSPassword[]>]
[[-VerificationMode] <ForbiddenPasswordVerificationMode>] [-CaseSensitive]
[-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm] [<CommonParameters>]Description
Add a new named forbidden password list to the current workspace, with its own passwords, match mode and case sensitivity. The list name is the identifier and must be unique. Requires system settings edit permission.
Examples
Example 1
PS C:\> Add-RDMForbiddenPasswordList -Name 'Weak' -Password @('123456', 'qwerty') -VerificationMode EqualsAdds a list named 'Weak' that rejects a password exactly equal to one of the values.
Example 2
Adds a list named 'Company' that rejects any password containing 'Contoso', matched case-sensitively.
Parameters
-CaseSensitive
Match the forbidden passwords case-sensitively.
-Confirm
Prompts for confirmation before running the cmdlet.
-ForcePromptAnswer
Switch to use with caution. It will automatically answer prompt asking yes/no, yes/no/cancel, or ok/cancel questions. In case of multiple prompts, multiple values can be passed to this parameter. Here are the accepted values:
Yes: Accept the prompt. Cover the OK and Automatic value.
No: Refuse the yes/no/cancel prompt. "Cancel" is the fallback option if there is no "No" option.
Cancel: Cancel the yes/no/cancel prompt. "No" is the fallback option if there is no "Cancel" option.
-Name
Name of the forbidden password list. Must be unique in the workspace.
-Password
Forbidden passwords, as plain strings or secure strings.
-VerificationMode
Match mode for this list: Contains (default) or Equals.
-WhatIf
Shows what would happen if the cmdlet were to run. The cmdlet does not run.
CommonParameters
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.
Notes
For more information, type "Get-Help Add-RDMForbiddenPasswordList -detailed". For technical information, type "Get-Help Add-RDMForbiddenPasswordList -full".
Last updated
Was this helpful?