Commands › Exchange Online
Get-Notification
> [!NOTE] > This cmdlet will be deprecated in the cloud-based service. The classic Exchange admin center was deprecated in the cloud-based service in 2023. Use the Get-Notification cmdlet to view notification events that are shown in the notification viewer in the Exchange admin center (EAC). These notifications are related to the following events: - Mailbox moves and migrations. - Expiring and expired certificates. - Exporting mailbox content to .pst files. - Importing mailbox content from .pst files. - Restoring deleted mailboxes.
Quick start script
# Get-Notification — 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-Notification -Settings <SwitchParameter> -ProcessType <AsyncOperationType> | Format-List
# 3. Export for evidence / drift tracking
Get-Notification | Export-Clixml .\Notification-$(Get-Date -Format yyyyMMdd).xml
Syntax — 3 parameter sets
Settings
Get-Notification [-Settings] -ProcessType <AsyncOperationType>
[-DomainController <Fqdn>]
[<CommonParameters>]
Identity
Get-Notification [[-Identity] <EwsStoreObjectIdParameter>]
[-Summary]
[-DomainController <Fqdn>]
[<CommonParameters>]
Filter
Get-Notification [-ProcessType <AsyncOperationType>]
[-ResultSize <Unlimited>]
[-StartDate <ExDateTime>]
[-Summary]
[-DomainController <Fqdn>]
[<CommonParameters>]
Parameters (7)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.