Solved

Exchange 2007 Management Shell syntax help

Posted on 2010-11-16
1
419 Views
Last Modified: 2012-05-10
The reason for this question is that I am not seeing any emails if the search I am doing is for

Export-Mailbox -subjectkeywords "cars, trucks, airplanes, boats"

If I do just Export-Mailbox -subjectkeywords "cars" it will show all emails that have the word cars in the subject line.

I need to be able to have one set of folders that show all emails with all of those words either together in the same subject line or just one of any of them.

What is the syntax for this?

I have tried:

Export-Mailbox -subjectkeywords "cars, trucks, airplanes, boats"

Export-Mailbox -subjectkeywords "cars trucks airplanes boats"

Export-Mailbox -subjectkeywords "cars" "trucks" "airplanes" 'boats"
0
Comment
Question by:wantingtolearn
1 Comment
 
LVL 25

Accepted Solution

by:
Tony Johncock earned 500 total points
ID: 34145292
I think you're almost there, but the context should be Export-Mailbox -subjectkeywords: "cars", "trucks", "airplanes", "boats"

Not the colon after subjectkeywords and the comma's
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
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…
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…

680 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