Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 438
  • Last Modified:

Exchange 2007 Management Shell syntax help

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
wantingtolearn
Asked:
wantingtolearn
1 Solution
 
Tony JLead Technical ArchitectCommented:
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

Granular recovery for Microsoft Exchange

With Veeam Explorer for Microsoft Exchange you can choose the Exchange Servers and restore points you’re interested in, and Veeam Explorer will present the contents of those mailbox stores for browsing, searching and exporting.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now