Commands › Exchange Online

Get-MailTrafficSummaryReport

Exchange Online ExchangeOnlineManagement Get-*

View summary information about message traffic in your organization for the last 90 days.

Quick start script

# Get-MailTrafficSummaryReport — 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-MailTrafficSummaryReport | Format-List

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

Syntax

Get-MailTrafficSummaryReport [-Category <String>]
 [-DlpPolicy <MultiValuedProperty>]
 [-Domain <MultiValuedProperty>]
 [-EndDate <DateTime>]
 [-Page <Int32>]
 [-PageSize <Int32>]
 [-ProbeTag <String>]
 [-StartDate <DateTime>]
 [-TransportRule <MultiValuedProperty>]
 [<CommonParameters>]

Parameters (9)

ParameterTypeRequiredWhat it controls
-Category String The Category parameter filters the report by category. Valid values are:
-DlpPolicy MultiValuedProperty The DlpPolicy parameter filters the report by the name of the data loss prevention (DLP) policy. You can specify multiple values separated by commas. If the value contains spaces, enclose the value in quotation marks (").
-Domain MultiValuedProperty The Domain parameter filters the results by an accepted domain in the cloud-based organization. You can specify multiple domain values separated by commas, or the value All.
-EndDate DateTime The EndDate parameter specifies the end date of the date range.
-Page Int32 The Page parameter specifies the page number of the results you want to view. Valid input for this parameter is an integer between 1 and 1000. The default value is 1.
-PageSize Int32 The PageSize parameter specifies the maximum number of entries per page. Valid input for this parameter is an integer between 1 and 5000. The default value is 1000.
-ProbeTag String This parameter is reserved for internal Microsoft use.
-StartDate DateTime The StartDate parameter specifies the start date of the date range.
-TransportRule MultiValuedProperty The TransportRule parameter filters the report by the name of the transport rule. You can specify multiple values separated by commas. If the value contains spaces, enclose the value in quotation marks (").

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