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 */