Solved

PowerShell "SubjectKeywords" -- Exchange 2007 ?

Posted on 2014-09-04
1
722 Views
Last Modified: 2014-09-05
How can I change the below Exchange 2007
PowerShell "abc123" command to do something
like "abc123" or "def456" or "xyz978" since
I need to search for three different keywords
via an "OR" statement ?

get-mailbox
–Database CorpMail |
Export-Mailbox
–SubjectKeywords "abc123"
–TargetMailbox myMailbox
–TargetFolder 'MyData'
0
Comment
Question by:finance_teacher
1 Comment
 
LVL 40

Accepted Solution

by:
Subsun earned 500 total points
ID: 40303582
Following code should work for you..
get-mailbox -Database CorpMail | Export-Mailbox –SubjectKeywords "abc123","def456","xyz978" –TargetMailbox myMailbox –TargetFolder 'MyData'

Open in new window

0

Featured Post

Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

Synchronize a new Active Directory domain with an existing Office 365 tenant
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create a Contact 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 >> Contact ta…
In this video we show how to create a mailbox database 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 Servers >> Data…

760 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now