Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add-BannedWord cmdlet takes a string of text, applies the normalization rules to it, and adds it to the banned word store.
Add-BannedWord -Value <string> Add-BannedWord -SecureString <SecureString>
Required. The string of text to add to the store. Normalization rules will be applied to the string before it is committed to the store
Required. The string of text to add to the store as a secure string object. Normalization rules will be applied to the string before it is committed to the store
The following example adds a single banned word to the store
Add-BannedWord -Value "password"
The following example prompts for a word to be added to the store
Add-BannedWord -SecureString (Read-Host -Prompt "Enter the banned word to add to the store" -AsSecureString)