Solved

Exchange 2010 message tracking script

Posted on 2012-03-27
6
935 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
6 Comments
 
LVL 26

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 26

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

734 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