Solved

Export-Mailbox does not return data

Posted on 2012-03-30
8
409 Views
Last Modified: 2012-05-13
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?
0
Comment
Question by:rtownes
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1
8 Comments
 
LVL 17

Expert Comment

by:James H
ID: 37787398
Where is the word  "easter" located? in the body or in the subject line.
0
 
LVL 9

Expert Comment

by:Geodash
ID: 37787402
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
 
LVL 17

Expert Comment

by:James H
ID: 37787407
If it's in the subject line, just add this to your query: -SubjectKeywords "easter"
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Expert Comment

by:pclinuxguru
ID: 37787411
Shouldn't it be:
Export-Mailbox -Identity smithj -targetmailbox adminmailbox -ContentKeywords "String[easter]" -targetfolder "discovery"
0
 
LVL 9

Expert Comment

by:Geodash
ID: 37787414
you can run the command with the subject or content filter. It is a separate command depending on where you are querying from
0
 
LVL 10

Expert Comment

by:pclinuxguru
ID: 37787425
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
 

Accepted Solution

by:
rtownes earned 0 total points
ID: 37942430
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
 

Author Closing Comment

by:rtownes
ID: 37961897
Gave up on getting the excnahge script to work and purchased third party software to do it.
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video discusses moving either the default database or any database to a new volume.

688 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