Solved

Exchange 2010 extracting emails with specific words

Posted on 2012-04-12
3
1,094 Views
Last Modified: 2012-04-12
Hi,

We need to search and extract all email with a specific word.    This query needs to search each mailbox, each folder anything that has a specific word.

Any 3rd party tools suggestions?
Or maybe Exchange native?

Thanks,
0
Comment
Question by:itmti
[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
  • 2
3 Comments
 
LVL 17

Accepted Solution

by:
Anuroopsundd earned 500 total points
ID: 37838327
#Assign the role to the required user account
New-ManagementRoleAssignment -Role “Mailbox Import Export” -User administrator
#Restart the shell

#This would search every mailbox for messages containing the word secrets in the message body,
#and export them to the administrator mailbox in a subfolder called Export
Get-Mailbox -ResultSize Unlimited | Search-Mailbox -SearchQuery “Body:’*secrets*’” -TargetMailbox administrator -TargetFolder Export
#Or, to search one mailbox for bob smith
Search-Mailbox -Identity bsmith -SearchQuery “Body:’*secrets*’” -TargetMailbox administrator -TargetFolder


http://www.n2networksolutions.com/2011/03/18/searching-exchange-2010-mailboxes-with-powershell/
0
 

Author Comment

by:itmti
ID: 37838347
The term 'Search-Mailbox' is not recognized as the name of a cmdlet, function, script file, or operable program.

and for roles:
A positional parameter cannot be found that accepts argument 'Mailbox Import Export'.
0
 

Author Closing Comment

by:itmti
ID: 37838428
sorry misspelled working!

thanks,
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
To show how to generate a certificate request 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 Servers >> Certificates…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

730 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