Exporting Message Tracking Results from Exchange 2010

Message Tracking

A message tracking log is a detailed log of all message activity as messages are transferred to and from a computer that is running Microsoft Exchange Server 2010.

By default, the message tracking log files exist in C:\Program Files\Microsoft\Exchange Server\V14\Transport Roles\Logs\Message Tracking

Message Tracking features can be found under  toolbox

When we run the message tracking we cannot export it from EMC there is no option to export the results.

Let see now how to export the Message Tracking results from EMS ( Exchange Management Shell )

Configure a set of messaging tracking parameters and then received the results

 

 

As you can see below the Commands appers

Get-messagetrackinglog -Recipients:mhussain@arabitpro.com.sa -Server “CASServer” -Start “5/1/2012 6:36:00 AM”

We need to export tracking logs in CSV format.

Get-messagetrackinglog -Recipients:mhussain@arabitpro.com.sa -Server “CASServer” -Start “5/1/2012 6:36:00 AM” -End “5/24/2012 10:46:00 AM” | Select timestamp, eventid, Source, Messageid, MessageSubject, sender, {$._recipients}, clientip, clienthostname, serverip, serverhostname, messageinfo | export-csv c:\MsgTrack.csv

 

 

This create a CSV file in your C:\ MsgTrack.csv

We can filter the information whatever we need from excel sheet.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s