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
411 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

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exchange 2016 Services 1 31
exchange 2007, certificates 4 28
Skype for Business server 6 39
Mailbox migration stuck after 89% without error 6 23
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video discusses moving either the default database or any database to a new volume.

685 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