?
Solved

Exchange - Search all mailboxes for message with stringq

Posted on 2015-02-18
1
Medium Priority
?
60 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
To show how to create a transport rule 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 >> Rules tab.:  To cr…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses
Course of the Month7 days, 21 hours left to enroll

765 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