Friday, July 26, 2019

Use the Exchange Management Shell to search the message tracking logs

Track Messages in Exchange 2016


Get-MessageTrackingLog [-Server <ServerIdentity>] [-ResultSize <Integer> | Unlimited] [-Start <DateTime>] [-End <DateTime>] [-EventId <EventId>] [-InternalMessageId <InternalMessageId>] [-MessageId <MessageId>] [-MessageSubject <Subject>] [-Recipients <RecipientAddress1,RecipientAddress2...>] [-Reference <Reference>] [-Sender <SenderAddress>]

Get-MessageTrackingLog
   [-DomainController <Fqdn>]
   [-End <DateTime>]
   [-EventId <String>]
   [-InternalMessageId <String>]
   [-MessageId <String>]
   [-MessageSubject <String>]
   [-Recipients <String[]>]
   [-Reference <String>]
   [-ResultSize <Unlimited>]
   [-Sender <String>]
   [-Server <ServerIdParameter>]
   [-Start <DateTime>]
   [-NetworkMessageId <String>]
   [-Source <String>]
   [-TransportTrafficType <String>]
   [<CommonParameters>]

Example

Get-MessageTrackingLog -Server Mailbox01 -Start "03/13/2018 09:00:00" -End "03/15/2018 17:00:00" -Sender "john@contoso.com"

[PS] C:\Users\Administrator.YUKKAYUKKA\Desktop>Get-MessageTrackingLog -Server yukkmail -Start "07/22/2019 12:00" -End "07/22/2019 13:00" -Recipients "John@yukkayukka.com" -Sender "joejoe@johnsons.com" -EventID "RECEIVE"

No comments:

Post a Comment