Solved

Export-Mailbox does not return data

Posted on 2012-03-30
8
403 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
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:Spartan_1337
ID: 37787407
If it's in the subject line, just add this to your query: -SubjectKeywords "easter"
0
 
LVL 10

Expert Comment

by:pclinuxguru
ID: 37787411
Shouldn't it be:
Export-Mailbox -Identity smithj -targetmailbox adminmailbox -ContentKeywords "String[easter]" -targetfolder "discovery"
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
how to add IIS SMTP to handle application/Scanner relays into office 365.

895 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

18 Experts available now in Live!

Get 1:1 Help Now