Friday, July 4, 2014

Search the Message Tracking Log with Wildcards

I was trying to track down a delivery error today and was annoyed that I couldn't use wildcards when searching the log in Tracking Log Explorer. Instead, I used the Exchange Management Shell and filtered with Where-Object to get the information I wanted:
Get-MessageTrackingLog -Start "month/day/year hour:minute:second" -End "month/day/year hour:minute:second" -Resultsize Unlimited | Where-Object {$_.Recipients -like "*@domain.com"}

No comments:

Post a Comment