Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to use Microsoft Exchange 2010 Powershell to search a user's mailbox for a particular e-mail

Posted on 2013-06-11
2
Medium Priority
?
432 Views
Last Modified: 2013-06-12
User claims he never received an e-mail. E-mail filter indicates that the e-mail was sent to him. How can I use Powershell to search the mailbox or the entire exchange database for the location of the e-mail in question?

Thanks.
0
Comment
Question by:dowhatyoudo22
2 Comments
 
LVL 23

Accepted Solution

by:
Stelian Stan earned 2000 total points
ID: 39239973
0
 
LVL 10

Expert Comment

by:Marshal Hubs
ID: 39240161
Hi,

Use this script to solve this on one line:

Get-Mailbox -ResultSize Unlimited |Select-Object DisplayName,ServerName,PrimarySmtpAddress, @{Name=“EmailAddresses”;Expression={$_.EmailAddresses |Where-Object {$_.PrefixString -ceq “smtp”} | ForEach-Object {$_.SmtpAddress}}}

Open in new window

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

On September 18, Experts Exchange launched the first installment of the Help Bell, a new feature for Premium Members, Team Accounts, and Qualified Experts. The Help Bell will serve as an additional tool to help teams increase question visibility.
How to effectively resolve the number one email related issue received by helpdesks.
To show how to create a transport rule 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 >> Rules tab.:  To cr…
how to add IIS SMTP to handle application/Scanner relays into office 365.
Suggested Courses

927 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