Solved

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

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

Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

Join & Write a Comment

Check out this infographic on what you need to make a good email signature that will work perfectly for your organization.
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
In this video we show how to create an Address List 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 Organization >> Ad…
This video discusses moving either the default database or any database to a new volume.

707 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

11 Experts available now in Live!

Get 1:1 Help Now