Solved

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

Posted on 2011-09-21
2
483 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

813 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now