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
409 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
ID: 39239973
0
 
LVL 9

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
Find out what you should include to make the best professional email signature for your organization.
In this video we show how to create a User Mailbox 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 Recipients >> Mailb…
In this video we show how to create an email address policy 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…

840 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