Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2013-11-19
5
Medium Priority
?
332 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
[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
  • 3
  • 2
5 Comments
 
LVL 35

Accepted Solution

by:
Joseph Daly earned 2000 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
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.
Suggested Courses

610 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