Commands › Exchange Online

Get-SystemMessage

Exchange Online ExchangeOnlineManagement Get-*

View default or custom system messages. System messages are delivery status notifications (also known as DSNs, non-delivery reports, NDRs or bounce messages) and quota messages.

Quick start script

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

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

Syntax — 2 parameter sets

Identity

Get-SystemMessage [[-Identity] <SystemMessageIdParameter>]
 [-DomainController <Fqdn>]
 [<CommonParameters>]

Original

Get-SystemMessage [-Original]
 [-DomainController <Fqdn>]
 [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-Identity SystemMessageIdParameter The Identity parameter specifies the custom system message that you want to view. You can use any value that uniquely identifies the system message. For example:
-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...
-Original SwitchParameter The Original switch filters the results by the default system messages that are included with Exchange. You don't need to specify a value with this switch.

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