Solved

How to search For all emails with a certain attachment name in exchange 2010

Posted on 2014-09-23
1
6,591 Views
Last Modified: 2014-12-04
Is there a way in exchange 2010 emc/powershell for me to find out if a certain email attachment has been password around.

example:
We have an email with an attachment named    img-192830.001.pdf  

And would like to be able to run a report to see which email box has that attachment in their inbox.

is that possible?

thank you
0
Comment
Question by:sirichaiphumirat
[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
1 Comment
 
LVL 16

Accepted Solution

by:
Rajitha Chimmani earned 500 total points
ID: 40340531
You can use Search-Mailbox command to search against all the mailboxes.

Get-Mailbox | Search-Mailbox -searchquery 'Attachment:"img-192830.001.pdf"' -TargetMailbox "mbname"

You can either place the message in a target folder in another mailbox or create a log. Please find the technet link below for various available options.

http://technet.microsoft.com/en-us/library/dd298173.aspx
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
In this video we show how to create a Distribution Group 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 >>…
This video discusses moving either the default database or any database to a new volume.

733 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