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