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

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
sirichaiphumiratAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Rajitha ChimmaniConnect With a Mentor Commented:
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
All Courses

From novice to tech pro — start learning today.