Exchange 2007 Legal Export

I need some assistance here.
I'm needing to export emails to and from a certain email address and this doesn't seem to be grabbing them.
Get-mailbox -database "Mailbox Database" | export-mailbox -ContentKeywords "" -TargetFolder "\Discovery" -TargetMailbox legadiscovery

If I do a search by say, my name it finds it in the body of the message and exports correctly, but I'm needing to capture all emails from both sender and receiver. If I use the email address requested it doesn't turn up anything. Even though there's quite a few in a few peoples mailboxes.

Any help would be great!
DCC JaxAsked:
Who is Participating?

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

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:
What i would recommend trying is using the "AllContentKeywords" parameter to see if you get better results.

DCC JaxAuthor Commented:
So do:
Get-mailbox -database "Mailbox Database" | export-mailbox -AllContentKeywords "" -TargetFolder "\Discovery" -TargetMailbox legadiscovery
DCC JaxAuthor Commented:
When using -AllContentKeywords it doesn't narrow the search down to anything related to the email addresss, it's like it's grabbing everything.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Will SzymkowskiSenior Solution ArchitectCommented:
Yeah that is correct.

Will SzymkowskiSenior Solution ArchitectCommented:
It should work the same way but it also searches the Subject as well as the Message Body and attachment content.

Will SzymkowskiSenior Solution ArchitectCommented:
You could also run 2 different ones using -SenderKeyWords and another one for -RecipientKeyWords.

Unfortunately with Exchange 2007 you do not have as much flexibility as you do with 2010/2013.


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
DCC JaxAuthor Commented:
If I use -SenderKeywords I'm able to get everything that was received into the organization, but can't seem to get both directions incoming and outgoing related to the address.
DCC JaxAuthor Commented:
Sorry, just now noticed your comment about -RecipientKeyWords! Thanks! That gets exactly what I want!
Will SzymkowskiSenior Solution ArchitectCommented:

Glad to help!

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

From novice to tech pro — start learning today.