Solved

Log of all email received per user with stats

Posted on 2013-06-28
1
185 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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Question has a verified solution.

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

The canonical version of this article is on my web site here: http://iconoun.com/articles/collisions/ A companion presentation is available here: http://iconoun.com/articles/collisions/Unicode_Presentation.pdf
User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

947 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

18 Experts available now in Live!

Get 1:1 Help Now