Posts Tagged ‘messagetracking’


UPDATE: Version 2.1 is available. For details, click here.

The Exchange tracking logs provide a wealth of information about mail flow through your organization. Unfortunately, the tools that ship with Exchange aren’t very good at leveraging this information in a useful way. You can use the message tracking tool that ships with EMC to search for specific logs but beyond viewing the raw log data, there isn’t much information available. Fortunately, Microsoft has provided us with powershell and powershell can be used in all sorts of interesting ways to gather, aggregate and present data in useful summaries and reports.

One of the great things about powershell and the IT community is that there are plenty of people who have built powershell scripts to solve problems, automate or streamline tasks, and gather and present data. Most people are more than happy to share their scripts with anyone who would like…

View original post 1,095 more words


Posted: January 17, 2012 in Exchange 2010, HT, Powershell
Tags: , ,

It’s often required to track the message flow in your Exchange environment. Of ourse, Exchange has it’s web-based GUI to track messages but it’s limited in function.

You should use PowerShell to analyze mailflow in a detailed level.

Output table formated. First, transport servers are selected. The result is piped into the main query phrase and filtered mathching the E-Mail subject.

Get-TransportServer | Get-messagetrackinglog -Sender “USER@DOMAIN.COM” -Start “01/15/2012 11:15:00” -End “01/15/2012 14:25:00” | Where {$_.MessageSubject -like “*Exchange*”} | ft EventId,Source,Sender,MessageSubject,Recipients -autosize

You could this output more detailed list-formated.

Get-TransportServer | Get-messagetrackinglog -Sender “USER@DOMAIN.COM” -Start “01/15/2012 11:15:00” -End “01/15/2012 14:25:00” | Where {$_.MessageSubject -like “*Exchange*”} | fl

Filter for empty subject.

Get-TransportServer | Get-messagetrackinglog -Sender “USER@DOMAIN.COM” -Start “01/15/2012 11:15:00” -End “01/15/2012 14:25:00” | Where {$_.MessageSubject -like “”} | fl

Filtering messagelog to track mails sent to a special domain.

Get-TransportServer | Get-MessageTrackingLog -Start “01/15/2012 12:00am” -ResultSize Unlimited | Where {$_.Recipients -match “”}