e-Discovery
I have just been asked to perform an e-discovery on an Exchange Server 2007 using the native tools. I have created a powershell script as follows: Get-User ITSupport | export-mailbox -AllContentkeywords "Name", "name", "Michael R. Freed" -enddate "03/15/2011" -SenderKeywords "email@bellsouth.net","email@msn.com","email ID", "email ID" -RecipientKeywords "email@bellsouth.net","email@msn.com","email ID", "email ID" -targetmailbox mailboxID -targetfolder TempFolder -Baditemlimit 1000 No matter what user ID I put in the following error is generated for all emails and folders: [4/6/2011 4:51:13 PM] [0] [userName] The following bad item was found when moving messages: <badItem errorCode='0x80004005' flags='0x00000000'> <folder id='000000008C1791AFF6142542B490A4E8F112F07101001C613143C1B91941B2C90FDFAD3973070072ECC2F83C0000'>Deleted Items</folder> <sender></sender> <recipient></recipient> <subject></subject> <size></size> <dateSent></dateSent> <dateReceived></dateReceived> <sourceKey></sourceKey> </badItem> I created a new user with Exchange Admin permissions and I have granted FullAccess to all mailboxes to this user. I am at a lose as to what is going wrong. If this only happened on a select few messages or folders I would under stand, but on all messages, all folder, all mailboxes, I think either I have something wrong in the scripts of there is a security problem. Your help will be greatly appreciated Hank Leander, SBSCYour help and assistance is greatly appreciated, Hank Leander, SBSC
April 6th, 2011 5:50pm

To export data from a .pst file, you must run the Export-Mailbox cmdlet from a 32-bit computer that has the following installed: The 32-bit version of the Exchange management tools Outlook 2003 Service Pack 2 (SP2) or Outlook 2007 You cannot export data from a public folder database. To grant full access to a mailbox, use the Add-MailboxPermission cmdlet and specify FullAccess for the AccessRights i think duplicate items in the mailbox try to add the switch -allowduplicates Thanks Joseph Pradeep
Free Windows Admin Tool Kit Click here and download it now
April 6th, 2011 6:41pm

Hi Joseph, I am actually sending the then export to another client folder in the Exchange Sever. I have applied the Add-MailboxPermissions FullAccess to all the mailboxes and am not trying to export anything form the Public Folders. I tried adding the -AllowDuplicates but it ended with the same resultYour help and assistance is greatly appreciated, Hank Leander, SBSC
April 6th, 2011 7:10pm

try the switch -verbose -debug post the error message Thanks Joseph Pradeep
Free Windows Admin Tool Kit Click here and download it now
April 6th, 2011 7:29pm

Sorry for the delayed response, just got in from another site. Will use the new switchesYour help and assistance is greatly appreciated, Hank Leander, SBSC
April 6th, 2011 9:26pm

Looks like you are well on your way with the native tools, however, if you are unable to get what you need working to your satisfaction check our Lucid8's DigiScope http://www.lucid8.com/product/digiscope.asp which provides a nice GUI and also the ability to search offline EDB's so that you can avoid impacting your live server.Troy Werelius www.Lucid8.com
Free Windows Admin Tool Kit Click here and download it now
April 6th, 2011 10:11pm

Hi Joseph, I ran the file with the -verbos -debug switch. Please use the provided link to download the Migration Log file: export-Mailbox20110406-212522-9286708.log (1.2 MB bytes) => https://www.onlinefilefolder.com/1sSU16bpT6bL5CYour help and assistance is greatly appreciated, Hank Leander, SBSC
April 6th, 2011 10:26pm

Hi Hank, About the permission to run the cmdlet Export-Mailbox: Exchange Server Administrator role and local Administrators group for the target server Full access to the source and target mailboxex I would suggest you to run a simple cmdlet against a test mailbox to see whether it works first, e.g. Export-Mailbox -Identity test@contoso.com -TargetMailbox ExportMailbox -TargetFolder MyData More information: Export-Mailbox http://technet.microsoft.com/en-us/library/aa998579(EXCHG.80).aspx Frank Wang TechNet Subscriber Support in forum If you have any feedback on our support, please contact tngfb@microsoft.com Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
April 7th, 2011 3:55am

Hi Frank, I ran the simple test cmdlet and this is the resulting error: [PS] C:\Windows\system32>Export-Mailbox -Identity hplanishek@simonic.net -Target Mailbox ItSupport -TargetFolder MyData Confirm Are you sure you want to perform this action? Exporting mailbox content from the mailbox 'Heather Planishek' into the mailbox for 'IT Support (ISupport@simonic.net)' inside folder '\MyData\Recovered Data - Heather Planishek - 4/7/2011 8:06:09 AM'. This operation may take a long time to complete. [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"):a Export-Mailbox : Error was found for Heather Planishek (HPlanishek@simonic.net) because: Error occurred in the step: Moving messages. This mailbox exceeded th e maximum number of corrupted items specified for this move mailbox operation., error code: -1056749110 At line:1 char:15 + Export-Mailbox <<<< -Identity hplanishek@simonic.net -TargetMailbox ItSuppor t -TargetFolder MyData + CategoryInfo : InvalidOperation: (0:Int32) [Export-Mailbox], Re cipientTaskException + FullyQualifiedErrorId : EDCBE8F5,Microsoft.Exchange.Management.Recipient Tasks.ExportMailbox Identity : simonic.local/MyBusiness/Users/SBSUsers/Heat her Planishek DistinguishedName : CN=Heather Planishek,OU=SBSUsers,OU=Users,OU =MyBusiness,DC=simonic,DC=local DisplayName : Heather Planishek Alias : HPlanishek LegacyExchangeDN : /o=First Organization/ou=Exchange Administra tive Group (FYDIBOHF23SPDLT)/cn=Recipients/c n=HPlanishek PrimarySmtpAddress : HPlanishek@simonic.net SourceServer : SIMONICSVR.simonic.local SourceDatabase : SIMONICSVR\First Storage Group\Mailbox Datab ase SourceGlobalCatalog : SIMONICSVR SourceDomainController : TargetGlobalCatalog : SIMONICSVR TargetDomainController : TargetMailbox : simonic.local/MyBusiness/Users/SBSUsers/IT S upport TargetServer : SIMONICSVR.simonic.local TargetDatabase : SIMONICSVR\First Storage Group\Mailbox Datab ase MailboxSize : 2367981KB IsResourceMailbox : False SIDUsedInMatch : SMTPProxies : SourceManager : SourceDirectReports : SourcePublicDelegates : SourcePublicDelegatesBL : SourceAltRecipient : SourceAltRecipientBL : SourceDeliverAndRedirect : MatchedTargetNTAccountDN : IsMatchedNTAccountMailboxEnabled : MatchedContactsDNList : TargetNTAccountDNToCreate : TargetManager : TargetDirectReports : TargetPublicDelegates : TargetPublicDelegatesBL : TargetAltRecipient : TargetAltRecipientBL : TargetDeliverAndRedirect : Options : Default SourceForestCredential : TargetForestCredential : TargetFolder : \MyData\Recovered Data - Heather Planishek - 4/7/2011 8:06:09 AM PSTFilePath : RsgMailboxGuid : RsgMailboxLegacyExchangeDN : RsgMailboxDisplayName : RsgDatabaseGuid : StandardMessagesDeleted : 0 AssociatedMessagesDeleted : 0 DumpsterMessagesDeleted : 0 MoveType : Export MoveStage : Move StartTime : 4/7/2011 8:06:14 AM EndTime : 4/7/2011 8:25:32 AM StatusCode : -1056749110 StatusMessage : Error occurred in the step: Moving messages. This mailbox exceeded the maximum number of corrupted items specified for this move mai lbox operation. ReportFile : C:\Program Files\Microsoft\Exchange Server\L ogging\MigrationLogs\export-Mailbox20110407- 080609-7949057.xml Here is a link to that log file: export-Mailbox20110407-080609-7929057.log (1.6 MB bytes) => https://www.onlinefilefolder.com/1spN4rd0SdajBHYour help and assistance is greatly appreciated, Hank Leander, SBSC
April 7th, 2011 8:40am

Hi Hank, About the error "This mailbox exceeded the maximum number of corrupted items specified for this move mailbox operation, error code: -1056749110", seems like there are many corrupted items in the mailbox. Please try to use -Baditemlimit. How about exporting items from a new test mailbox? Similar post, Export-Mailbox not exporting emails http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/9111a9fa-9e5d-44e7-9fd0-2058df26dfd4/ Frank Wang TechNet Subscriber Support in forum If you have any feedback on our support, please contact tngfb@microsoft.com Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
April 8th, 2011 4:08am

Hi Frank, This Happens on all accounts. When adding the -BadItemLimit Switch only the Directory Tree fills in. If I do a seach using the -Identities Outlook mailbox, I can find and read all the emails that I am searching for. Would you think running a repair/defrag of the Eschange database will do any good?Your help and assistance is greatly appreciated, Hank Leander, SBSC
April 8th, 2011 8:52am

Hi Hank, You can try to do it. And please run the Isinteg after defraging. Isinteg http://technet.microsoft.com/en-us/library/bb125144(EXCHG.80).aspx Frank Wang TechNet Subscriber Support in forum If you have any feedback on our support, please contact tngfb@microsoft.com Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
April 10th, 2011 11:16pm

Hi Hank, Any updates?Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
April 12th, 2011 9:30pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics