Solved

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

Posted on 2013-11-19
5
319 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
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
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …

786 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