Commands › Exchange Online
Add-ContentFilterPhrase
Define custom words for the Content Filter agent. A custom word is a word or phrase that the administrator sets for the Content Filter agent to evaluate the content of an message and apply appropriate filter processing.
Quick start script
# Add-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
Add-ContentFilterPhrase -Phrase <String> -Influence <Influence> | Format-List
# 3. Export for evidence / drift tracking
Add-ContentFilterPhrase | Export-Clixml .\ContentFilterPhrase-$(Get-Date -Format yyyyMMdd).xml
Syntax
Add-ContentFilterPhrase [-Phrase] <String> -Influence <Influence>
[-Confirm]
[-DomainController <Fqdn>]
[-WhatIf]
[<CommonParameters>]
Parameters (5)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.