Export-Mailbox does not return data

Windwos Server 2003
Exchange 2007
Outlook 2007
latest sp and updates on all.

I need to run a series of queries for litigation purposes.  I wanted to test the export-mailbox feature so I emailed my self and others a message with test keyword "easter" in it.  Then I run the following command:

Export-Mailbox -Identity smithj -targetmailbox adminmailbox -ContentKeywords "easter" -targetfolder "discovery"

This causes a discovery folder to be created in the root of the adminmailbox.  In the discovery folder it creates a folder called "Recovered Data - smithj - timestamp".  It recreates the user's subfolder structure, but it does not export the test email I sent with the word "easter" in it. I have tried case-sensitive and non.  There are no errors on the query.  So it's running OK, just not returning data I know should be there.

The Search Indexer service is runing on the xchng server for what that's worth.

Any ideas?
rtownesAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
rtownesConnect With a Mentor Author Commented:
I never could get the query to perform correctly no matter what syntax I used.  Could be there is a problem with the indexing on the exchange server?? I ended up purchasing some software from Sherpa that worked perfectly.  The annoying thig is, that it's probably jus a GUI that runs some form of the commands I was running in the background.  At any rate, we needed info fast and the Sherpa sofware worked although very expensive.
0
 
James HIT DirectorCommented:
Where is the word  "easter" located? in the body or in the subject line.
0
 
GeodashCommented:
Try it with the "|" command - listed here and see if it works -

http://www.networksteve.com/exchange/topic.php/Export-Mailbox_error/?TopicId=18442&Posts=2
0
Will You Be GDPR Compliant by 5/28/2018?

GDPR? That's a regulation for the European Union. But, if you collect data from customers or employees within the EU, then you need to know about GDPR and make sure your organization is compliant by May 2018. Check out our preparation checklist to make sure you're on track today!

 
James HIT DirectorCommented:
If it's in the subject line, just add this to your query: -SubjectKeywords "easter"
0
 
pclinuxguruCommented:
Shouldn't it be:
Export-Mailbox -Identity smithj -targetmailbox adminmailbox -ContentKeywords "String[easter]" -targetfolder "discovery"
0
 
GeodashCommented:
you can run the command with the subject or content filter. It is a separate command depending on where you are querying from
0
 
pclinuxguruCommented:
If I remember correctly the ContentFilter part looks like -ContentFilter"String[words]" or -ContentFilter"[word]"

Been awhile. We have an archive device so it has been awhile since I had to look it up on exchange.
0
 
rtownesAuthor Commented:
Gave up on getting the excnahge script to work and purchased third party software to do it.
0
All Courses

From novice to tech pro — start learning today.