Solved

Search Exchange Mailbox for e-mails with two or three keywords

Posted on 2011-09-21
2
487 Views
Last Modified: 2012-05-12
Hello,

I need to search a specific user's mailbox for e-mail messages that match a certain criteria.

Specifically, any messages that have the words Georgia and Scope of Practice in them.

I started by using the below powershell, but it only search for messages with the word Georgia in it.

Search-Mailbox -Identity "Username" -SearchQuery "Georgia" -TargetMailbox "Legal Keywords" -TargetFolder "Username-09/21/2011" -LogLevel Full

Is there a way to search for 2 or 3 different keywords and only catch messages that have all 2 or 3 keywords in them?

Thanks!
Brian
0
Comment
Question by:UALITGUYS
[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 Comments
 
LVL 9

Accepted Solution

by:
Benjamin MOREAU earned 500 total points
ID: 36576549
Try to use the "AND" on your query.

For exemple : ... -searchquery "from:someuser@domain.com AND Subject:`Georgia'"
0
 
LVL 17

Expert Comment

by:lucid8
ID: 36581305
If you want both Words/Phrases to be present then yes use AND, however is you want results where either word/phrase is present separate keywords by comma i.e. "keyword1", "keyword2", "keyword3". here is a good article to review http://207.46.16.237/en-us/140/ms.exch.ecp.newmailboxsearch.aspx
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

A safe way to clean winsxs folder from your windows server 2008 R2 editions
In-place Upgrading Dirsync to Azure AD Connect
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

726 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