Solved

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

Posted on 2011-09-21
2
480 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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

763 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

11 Experts available now in Live!

Get 1:1 Help Now