Solved

Exchange 2010 message tracking script

Posted on 2012-03-27
6
921 Views
Last Modified: 2012-04-16
Dear Team,

I need to run the script which will provide the details about mailflow counts in our edge server.

I have to get the count based on the Sender or email address or recipients

Please help me on this
0
Comment
Question by:sekar_raj32
  • 2
  • 2
6 Comments
 
LVL 25

Expert Comment

by:Tony Johncock
ID: 37771151
0
 
LVL 7

Author Comment

by:sekar_raj32
ID: 37775973
I need to get a report like.

How many had sent a mail during this month based on clientip, sender id

I have to provide the list and the count as well.

I tried the below command for one day and got the details but need to get the counts how many numbers for each sender email address:

get-messagetrackinglog -start "03/10/2012 00:00:01" -end "03/26/2012 23:59:59" -eventid "receive" -resultsize unlimited | export-csv
0
 
LVL 25

Assisted Solution

by:Tony Johncock
Tony Johncock earned 250 total points
ID: 37776068
You could use -sender and -recipient appended to that line

You should also be able to use the sort-object command to sort by sender, time etc.

Some more details on your command:

http://technet.microsoft.com/en-us/library/bb124926(v=exchg.80).aspx

Realise it says 2007 but the commands should be the same for 2010
0
 
LVL 12

Accepted Solution

by:
prashanthd earned 250 total points
ID: 37789892
Try the following

get-messagetrackinglog -start "03/10/2012 00:00:01" -end "03/26/2012 23:59:59" -eventid "receive" -resultsize unlimited | group-object sender |export-csv

Open in new window

0
 
LVL 7

Author Closing Comment

by:sekar_raj32
ID: 37854401
partial
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to install and use the NTBackup utility that comes with Windows Server.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
This video discusses moving either the default database or any database to a new volume.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now