Solved

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

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
In-place Upgrading Dirsync to Azure AD Connect
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…
how to add IIS SMTP to handle application/Scanner relays into office 365.

717 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