Solved

Export-Mailbox does not return data

Posted on 2012-03-30
8
401 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
  • 2
  • 2
  • 2
  • +1
8 Comments
 
LVL 17

Expert Comment

by:Spartan_1337
Comment Utility
Where is the word  "easter" located? in the body or in the subject line.
0
 
LVL 9

Expert Comment

by:Geodash
Comment Utility
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:Spartan_1337
Comment Utility
If it's in the subject line, just add this to your query: -SubjectKeywords "easter"
0
 
LVL 10

Expert Comment

by:pclinuxguru
Comment Utility
Shouldn't it be:
Export-Mailbox -Identity smithj -targetmailbox adminmailbox -ContentKeywords "String[easter]" -targetfolder "discovery"
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 9

Expert Comment

by:Geodash
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Gave up on getting the excnahge script to work and purchased third party software to do it.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article will help you understand what HashTables are and how to use them in PowerShell.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…

771 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now