Exchange 2007 extract messages with certain keywords
I am following the technet note http://blogs.technet.com/b/exchange/archive/2006/12/18/3397563.aspx to search multiple mailboxes for subject key words and contentkeywords, and running into all sorts of problems, this is my input, can anyone see where I'm going wrong? get-mailbox | export-mailbox -subjectkeywords "my words" -targetmailbox administrator -targetfolder 'mydata' The search seems to run through but I get the following error; 'failed to copy messages to the destination mailbox store with error: MAPI or an unspecified service provider.' Any help on this gratefully appreciated. Best regards Jo
April 24th, 2012 8:03am

I have also just tried get-mailbox | Export-Mailbox -ContentKeywords "my words" -TargetMailbox Administrator -TargetFolder 'Mydata' and it errors saying the target inbox and the source are the same???
Free Windows Admin Tool Kit Click here and download it now
April 24th, 2012 9:16am

You need to either specify a SOURCE AND TARGET MAILBOX OR specify the path to the PST Export-Mailbox -Identity <MailboxIdParameter> -TargetMailbox <MailboxIdParameter> -TargetFolder <Folder_Name> Export-Mailbox -Identity <MailboxIdParameter> -PSTFolderPath <Path_Of_PST_Folder>\<File_Name>.pst More here http://technet.microsoft.com/en-us/library/bb266964%28v=exchg.80%29.aspx Alternatively if you want to check out 3rd party products as a resolution, take a look at Lucid8's DigiScope http://www.lucid8.com/product/digiscope.asp Troy Werelius www.Lucid8.com Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline EDB's and Live Exchange Servers with Lucid8's DigiScope
April 24th, 2012 2:28pm

Many thanks for your response, I'll get onto that right away.
Free Windows Admin Tool Kit Click here and download it now
April 25th, 2012 4:29am

I have another question apologies for it seemingly simple, the mailbox Id Parameter I am given to understand for Identity is from the following choice AliasSimple Mail Transfer Protocol (SMTP) addressDisplay name I am persistently getting an error stating that the object cannot be found on the domain controller, I have tried multiple mailboxes with Alias, SMTP and display name and getting the same error?? Any clarity on this would be gratefully appreciated. Jo
April 25th, 2012 5:08am

Please ignore the Identity error report, I have the script running to the Identity source and destination source BUT I am now faced with the MAPI Error unable to copy/move messages, I am logged in as Domain Administrator and that user has all appropriate Exchange rights. Any ideas? Many thanks.
Free Windows Admin Tool Kit Click here and download it now
April 25th, 2012 5:36am

Ok for anyone else who has this problem I have found the issue, the Domain Administrator despite being a member in all the Exchange Groups, local admin on the Server etc needs fullaccess permission on the mailbox trying to export from. I ran this command and now exporting successfully; Add-MailboxPermission -Identity "enter your source mailbox" -User "enter the user that needs the permission in my case - administrator" -AccessRights FullAccess
April 25th, 2012 7:56am

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

Other recent topics Other recent topics