Link to home
Start Free TrialLog in
Avatar of rtownes
rtownes

asked on

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?
Avatar of James H
James H
Flag of United States of America image

Where is the word  "easter" located? in the body or in the subject line.
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
If it's in the subject line, just add this to your query: -SubjectKeywords "easter"
Shouldn't it be:
Export-Mailbox -Identity smithj -targetmailbox adminmailbox -ContentKeywords "String[easter]" -targetfolder "discovery"
you can run the command with the subject or content filter. It is a separate command depending on where you are querying from
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.
ASKER CERTIFIED SOLUTION
Avatar of rtownes
rtownes

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rtownes
rtownes

ASKER

Gave up on getting the excnahge script to work and purchased third party software to do it.