?
Solved

Finding who sent messages to a user who's mailbox was full in Exchange 2007

Posted on 2014-11-21
5
Medium Priority
?
26 Views
Last Modified: 2016-07-17
Hi so I'm trying to find a list of people that emailed a user when there mail box was full.  I found internally using  the microsoft exchange trouble shooting assistant message tracking .  Setting sender as Microsoft Exchange account and looking for failed messages there were very few.  But when the sender is postmaster there are a lot more messages and since I can't actually see the messages I don't know if post master is sending the message because that user's mailbox was full.  I know this is a really particular request but I think it would be useful for others as well.  I'm wondering if there's a unique failure for mailbox full I can search for.  I think as I'm writing this I may have figured it out but now to dump this to txt that the user could use like excel or csv.  Basically search I used was recipient and fail.  Anyone know how to do this in powershell and export list to a file.

Thanks!!
0
Comment
Question by:Strider10
[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
  • 2
5 Comments
 
LVL 26

Accepted Solution

by:
Nick67 earned 2000 total points
ID: 40458775
Looks like it should be pretty simple.
The message tracking tool shows what PowerShell commands are being issued.
Tracking fails for 'someone@somewhere.com for the last week is this
get-messagetrackinglog -Recipients:someone@somewhere.com -EventID "FAIL" -Start "11/17/2014 4:32:00 PM" -End "11/21/2014 4:42:00 PM"

From this site
http://blogs.technet.com/b/heyscriptingguy/archive/2014/02/04/use-powershell-to-create-csv-file-to-open-in-excel.aspx

It looks like we could append this bit
| Export-Csv -Path c:\someValidPath\file.csv -Encoding ascii -NoTypeInformation
to get the Exchange Management Shell to pipe the results out to a csv

Note that you CAN'T do this straight up from the command line's PowerShell.
You have to fire up the Exchange Management Shell or the right cmdlets won't be available

I tested this on my Exchange 2007 /SBS 2008 box.
C:\Windows\system32>get-messagetrackinglog -Recipients:me@myoutfit.co
m
-EventID "RECEIVE" -Start "11/17/2014 4:32:00 PM" -End "11/21/2014 4:42:00 PM"
 | Export-Csv -Path C:\Users\myname\Desktop\test.csv -Encoding ascii -NoTypeI
nformation

Worked like a hot damn!
I got a CSV of all my RECEIVE items on my desktop
0
 

Author Comment

by:Strider10
ID: 40458850
Thank you Nick67 for the fast response!  I'm definitely using the CSV output on many more of my powershell scripts I've wanted to look into that for a while just never took the time.  Thanks so much!
0
 
LVL 26

Expert Comment

by:Nick67
ID: 41714682
Not to be a PITA, but I believed this was answered
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Suggested Courses

752 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