Get-MessageTrace
SafeTrace mail flow (legacy)
Get-MessageTrace -SenderAddress <addr>
The legacy cmdlet for tracing message delivery. Deprecated since September 2025 — move to Get-MessageTraceV2. Kept here to help read existing scripts.
Examples
Get-MessageTrace -RecipientAddress [email protected] -StartDate (Get-Date).AddDays(-1) -EndDate (Get-Date)Trace last 24h of inbound
Syntax
Get-MessageTrace -StartDate <d> -EndDate <d> [-RecipientAddress]
Before you run it
Read-only.
Used when you see
Related commands
- Get-MailboxInspect mailboxes
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store