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
401 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 500 total points
Comment Utility
0
 
LVL 9

Expert Comment

by:Marshal Hubs
Comment Utility
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

Promote certifications in your email signature

Has your company recently won an award or achieved a certification? They'll no doubt want to show it off. Email signature images used to promote certifications & awards can instantly establish credibility with a recipient and provide you with numerous benefits.

Join & Write a Comment

Resolve DNS query failed errors for Exchange
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
In this video we show how to create a mailbox database 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 Servers >> Data…
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…

763 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

7 Experts available now in Live!

Get 1:1 Help Now