Add-BannedWord

SYNOPSIS

Adds a new banned word to the store

SYNTAX

String (Default)

Add-BannedWord [-Value] <String> [<CommonParameters>]

SecureString

Add-BannedWord [-SecureString] <SecureString> [<CommonParameters>]

DESCRIPTION

The Add-BannedWord cmdlet takes a string of text, applies normalization rules to it, and adds it to the banned word store

EXAMPLES

Example 1

Add-BannedWord -Value "password"

This example adds a single banned word to the store

Example 1

This example prompts for a word to be added to the store

PARAMETERS

-SecureString

The string of text to add to the store as a secure string object. The normalization rules will be applied to the string before it is committed to the store.

-Value

The string of text to add to the store. The normalization rules will be applied to the string before it is committed to the 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

Normalization rules

Last updated