Message Tracking

From KlavoWiki
Jump to navigationJump to search

To view the message tracking details of a user based on start and end times, and sender and recipient.


Get-ExchangeServer | where {$_.isHubTransportServer -eq $true -or $_.isMailboxServer -eq $true} | Get-MessageTrackingLog -ResultSize Unlimited -Start "m/d/yyyy h:mmAM" -End "m/d/yyyy h:mmPM" -Sender "email@domain.com" -Recipient "email@mydomain.com" | Select-Object Timestamp,ServerHostname,ClientHostname,Source,EventId,Sender,Recipients,MessageSubject | Sort-Object -Property Timestamp