Add-CompromisedPassword
SYNOPSIS
Adds a compromised password to the store
SYNTAX
String (Default)
SecureString
DESCRIPTION
This cmdlet adds a string into the compromised password store. When the password filter is configured to check against compromised passwords, any password that is an exact match to this string will rejected.
EXAMPLES
Example 1
This example adds a single compromised password to the store
Example 2
This example prompts for a password to add to the compromised password store
PARAMETERS
-SecureString
The password to add to the compromised password store as a secure string
-Value
The password to add to the compromised password store
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
System.String
System.Security.SecureString
OUTPUTS
NOTES
To import a file of compromised passwords, use the Import-CompromisedPassword cmdlet or the Import-CompromisedPasswordHashes cmdlets.
RELATED LINKS
Last updated