Commands › Exchange Online
Get-MailTrafficEncryptionReport
View the results of encryption in your cloud-based organization for the last 92 days.
Quick start script
# Get-MailTrafficEncryptionReport — 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-MailTrafficEncryptionReport | Format-List
# 3. Export for evidence / drift tracking
Get-MailTrafficEncryptionReport | Export-Clixml .\MailTrafficEncryptionReport-$(Get-Date -Format yyyyMMdd).xml
Syntax
Get-MailTrafficEncryptionReport
[-Action <MultiValuedProperty>]
[-AggregateBy <String>]
[-Direction <MultiValuedProperty>]
[-Domain <MultiValuedProperty>]
[-EndDate <System.DateTime>]
[-EventType <MultiValuedProperty>]
[-Page <Int32>]
[-PageSize <Int32>]
[-ProbeTag <String>]
[-StartDate <System.DateTime>]
[-SummarizeBy <MultiValuedProperty>]
[<CommonParameters>]
Parameters (11)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.