Solved

How do I get a report of emails sent and received from a 2010 exchange mailbox?

Posted on 2013-11-19
5
323 Views
Last Modified: 2013-11-26
Hello,
I need to run a report that tells me how many emails have been sent and received froma mailbox over the last few weeks and months.

I have no real powerscript knowledge so would need complete guidance!

can anyone help me with this?

thanks.
0
Comment
Question by:David_J_G
  • 3
  • 2
5 Comments
 
LVL 35

Accepted Solution

by:
Joseph Daly earned 500 total points
ID: 39660549
You will need to use the get-messagetrackinglog cmdlet.

If you have a single CAS server you can use something similar to below.

Get-MessageTrackingLog -sender emailaddress@domain.com -eventid send -start "11/16/2013 12:00" -end "11/19/2013 12:00" | measure-object

If you have multiple cas servers you will need to specify a name using the -server switch.

Get-MessageTrackingLog -sender emailaddress@domain.com -server servername -eventid send -start "11/16/2013 12:00" -end "11/19/2013 12:00" | measure-object
0
 
LVL 35

Expert Comment

by:Joseph Daly
ID: 39660552
For received you would do the same but change the -eventid from send to receive.

Other possible command line switches are here.
http://technet.microsoft.com/en-us/library/aa997573%28v=exchg.141%29.aspx
0
 

Author Comment

by:David_J_G
ID: 39660604
Thanks but these cmdlts all return a 0 count.

What am I doing wrong!?!
0
 
LVL 35

Expert Comment

by:Joseph Daly
ID: 39660637
What about if you just try
Get-MessageTrackingLog -sender user@domain.com

If this doesnt return any results you may not have message tracking enabled. You will need to enable it.

http://exchangeserverpro.com/exchange-2010-message-tracking/

If it does return a value then try adding the -eventid send parameter and see if that returns anything.
0
 

Author Closing Comment

by:David_J_G
ID: 39677238
Thanks, I did not have all the variables set correctly.
0

Featured Post

Backup Solution for AWS

Read about how CloudBerry Backup fully integrates your backups with Amazon S3 and Amazon Glacier to provide military-grade encryption and dramatically cut storage costs on any platform.

Question has a verified solution.

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

Suggested Solutions

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
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…

730 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