Quantcast
Channel: Exchange Server 2013 - Mail Flow and Secure Messaging forum
Viewing all articles
Browse latest Browse all 2249

Exchange Server Get-Messagetrackinglog to get the actual Inbound & Outbound email flow ?

$
0
0

People,

I need some help and clarification of using the exact Exchange PowerShell scriptGet-MessageTrackingLog like the below example:

Get-TransportServer | ForEach-Object {Write-Host $_.NameGet-Messagetrackinglog -Server $_.Name -Resultsize Unlimited -Start "01/03/2018 12:00:00 AM" -End "29/03/2018 5:00:00 PM" -EventID SEND | Where-Object { $_.Source -eq "SMTP"} | Select @{Name="Recipients";Expression={ $_.Recipients -join ';' }}, Sender, ClientIp, ClientHostname, Timestamp, EventID, Source, ServerHostname, ServerIp, MessageSubject, TotalBytes, ConnectorId} | Export-Csv C:\Logs\Result.csv -NoTypeInformation

  • Getting all of the confirmed Inbound emails: -EventID DELIVER | Where-Object { $_.Source -eq "StoreDriver"}

  • Getting all of the confirmed Outbound emails: -EventID SEND | Where-Object { $_.Source -eq "SMTP"}

After reading: https://technet.microsoft.com/en-us/library/bb124375%28v=exchg.150%29.aspx

Any help would be greatly appreciated.


/* Server Support Specialist */



Viewing all articles
Browse latest Browse all 2249

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>