Exchange 2007 Subject Line Search

Running the powershell command

get-mailbox -database "MailboxDB" | export-mailbox -Subjectkeywords "Oracle" -TargetMailbox "rrequest" -TargetFolder "Test Query"

In my Inbox I have an Email with Oracle in the subject line.  I have created an Exchange 2007 mailbox user called rrequest and when I execute the command it does indeed show at the command line messages have been found.  When I open the user rrequest I see the Folder Test Query has been created and it contains my personal Inbox as well as all of my subfolders, but there are no messages in any folder and I have one in my personal account with Oracle in the subject line.  The command executes and shows no errors.

Exchange 2007 SP2

Any thoughts?
vhatoAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Will SzymkowskiSenior Solution ArchitectCommented:
This is the correct results that you are seeing. It searches the entire mailbox as you have not specified any exclusions. This will create the directory tree based on the users mailbox and the sub folders with in it, even if there are no items that were found with your Key Words.

Will.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.