Exchange 2010 message tracking script

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
LVL 7
Kamalasekar ParthasarathyMessaging SupportAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
prashanthdConnect With a Mentor Commented:
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
 
Tony JLead Technical ArchitectCommented:
0
 
Kamalasekar ParthasarathyMessaging SupportAuthor Commented:
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
 
Tony JConnect With a Mentor Lead Technical ArchitectCommented:
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
 
Kamalasekar ParthasarathyMessaging SupportAuthor Commented:
partial
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.