Search Email Content Problem Export-mailbox RRS feed

  • Question

  • I am trying to search for all emails that has either one of multiple words with export-mailbox command.

    get-mailbox -Database "low" | Export-Mailbox -ContentKeywords "John Jane Edward " -TargetMailbox Administrator -TargetFolder "Data" -excludefolders "\contacts","\calendar","\journal","\notes","\tasks"

    I only get the results where all three words John Jane Edward are together. However I am looking for any emails that has either one of them in Contents.

    What will be the right context to use for that?

    Monday, February 21, 2011 9:50 PM


  • Did you try -ContentKeywords "John", "Jane", "Edward"
    James Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
    • Marked as answer by athakur_us Monday, February 21, 2011 10:55 PM
    Monday, February 21, 2011 9:56 PM