Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Exchange - Search all mailboxes for message with stringq

Posted on 2015-02-18
1
Medium Priority
?
61 Views
Last Modified: 2015-03-09
In an Exchange 2007 environment, what is the best way to search all mailboxes for messages with a specific string?

I found this article which talks about removing the messages: http://blogs.technet.com/b/exchange/archive/2010/10/27/removing-specific-messages-from-your-exchange-server.aspx

However, I would like to first just discover what messages are there to see who they went to before doing a mass removal.
0
Comment
Question by:Schuyler Dorsey
[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 13

Accepted Solution

by:
Guy Lidbetter earned 2000 total points
ID: 40618779
Hi Schuyler,

You use the same commands get-mailbox | export-mailbox, you just leave out the delete request... i.e.

Get-Mailbox -ResultSize Unlimited | Export-Mailbox -ContentKeywords "Specific String" -TargetMailbox YourMailbox -TargetFolder 'A Folder in your mailbox'

Open in new window


This will place a copy of any mail with the required string into a specified folder in your mailbox. It will create the folder if it doesn't exist.

Just add -deleteContent to the end to remove it.

Regards

Guy
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
Are you an Exchange administrator employed with an organization? And, have you encountered a corrupt Exchange database due to which you are not able to open its EDB file. This article will explain all the steps to repair corrupt Exchange database.
In this video we show how to create a Shared 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 >> Sha…
In this video we show how to create a Contact 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 >> Contact ta…
Suggested Courses

636 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