Add-CompromisedPassword
Last updated
Last updated
The Add-CompromisedPassword
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.
Value
Required. The password to add to the compromised password store
SecureString
Required. The password to add to the compromised password store as a secure string
The following example adds a single compromised password to the store
The following example prompts for a password to add to the compromised password store
To import a file of compromised passwords, use the or cmdlets