• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 441
  • 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"
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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