Message Tracking tips in Exchange 2007 / Exchange 2010 using CMD lets

Since message tracking in Exchange 2007/2010 does not have the same intuitive interface as we have in Exchange 2003, performing message tracking can be tricky.

Most people do not need to use message tracking in their everyday work and therefore it’s hard to really get hands-on practice.

I have collected a few samples that might help you in your Message tracking adventure.

Get-Exchangeserver | where {$_.isHubTransportServer -eq $true -or $_.isMailboxServer -eq $true} | Get-Messagetrackinglog -sender user@domain.com -MessageSubject "Subject of message” -Start "8/27/2010 7:00 AM" -End "8/27/2010 11:00 AM" | Select-Object Timestamp,Clienthostname,eventid,source,sender,@{Name="Recipients";Expression={$_.recipients}},Recipientcount,serverhostname,SourceContext | Export-Csv c:\temp\Messageinfo.csv

Then we could use Excel to work with the data we just exported.

image

How to Search Message Tracking Logs
https://technet.microsoft.com/en-us/library/bb124926(EXCHG.80).aspx

Managing Message Tracking
https://technet.microsoft.com/en-us/library/bb124375(EXCHG.80).aspx

Working with Command Output
https://technet.microsoft.com/en-us/library/bb123533(EXCHG.80).aspx

 

More information:

Process Tracking Log tool for Exchange Server 2007
https://msexchangeteam.com/archive/2008/02/07/448082.aspx