• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • Last Modified:

Log of all email received per user with stats

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
SchneiderDowns
Asked:
SchneiderDowns
1 Solution
 
nate0187Commented:
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now