Solved

Exchange 2007 Management Shell syntax help

Posted on 2010-11-16
1
408 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
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.
In this video we show how to create a Shared Mailbox 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 Recipients >> Sha…
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…

786 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