Commands › Exchange Online

Get-ContentFilterPhrase

Exchange Online ExchangeOnlineManagement Get-*

View one or all custom words that the Content Filter agent processes.

Quick start script

# Get-ContentFilterPhrase — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org

# 2. Run and inspect
Get-ContentFilterPhrase | Format-List

# 3. Export for evidence / drift tracking
Get-ContentFilterPhrase | Export-Clixml .\ContentFilterPhrase-$(Get-Date -Format yyyyMMdd).xml

Syntax — 2 parameter sets

Identity

Get-ContentFilterPhrase [[-Identity] <ContentFilterPhraseIdParameter>]
 [-DomainController <Fqdn>]
 [<CommonParameters>]

Phrase

Get-ContentFilterPhrase [-Phrase <ContentFilterPhraseIdParameter>]
 [-DomainController <Fqdn>]
 [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-Identity ContentFilterPhraseIdParameter The Identity parameter specifies a custom word or phrase to display. You must enclose the value of the Identity parameter in quotation marks (").
-DomainController Fqdn The DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the domain controller by its fully qualified domain name...
-Phrase ContentFilterPhraseIdParameter The Phrase parameter specifies a custom word or phrase to display. You must enclose the value of the Phrase parameter in quotation marks (").

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.