Solved

Log of all email received per user with stats

Posted on 2013-06-28
1
187 Views
Last Modified: 2013-11-12
Hello,
I was asked to get a report of all emails received to a certain employee, whcih needs to contain the following information; sender, date/time, if any attachments were received, size, when received.

Not sure if this is possible. I tried in the toolbox, but not enough of information. They want to be able to use this type of tool for anyone.

Example: See how many emails were received in the last two months for John Doe with citeria mentioned above.

Is there anyway this can be done.

We are running Exchnage 2010 envirnoment.

Thank you in advance for your assistance.

Mike
0
Comment
Question by:SchneiderDowns
1 Comment
 
LVL 2

Accepted Solution

by:
nate0187 earned 500 total points
ID: 39285514
Hopefully you have message tracking enabled. If so, you can export some data to a CSV and massage it from there via PowerShell.

On my exchange 2010 box, I've run these two scripts before in PowerShell:

get-messagetrackinglog -ResultSize Unlimited -Recipient user@domain.com -Start "11/1/2011 12:00:00 AM" -End "11/9/2011 11:59:00 PM" | select timestamp, messageid, messagesubject, sender, {$_.recipients}, totalbytes, recipientcount | export-csv c:\somefolder\user-receive-all.csv

get-messagetrackinglog -ResultSize Unlimited -sender user@accumetrics.com -Start "11/1/2011 12:00:00 AM" -End "11/9/2011 11:59:00 PM" | select timestamp, messageid, {$_.recipients}, totalbytes, recipientcount | export-csv c:\somefolder\user-send-all.csv

There are more variables you can pull for Get-MessageTrackingLog, you should be able to find those by Google. But the PS scripts above should give you some CSV files to start with. Just add your own user's email address and a date/time range.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

839 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