Answered by:
Exporting mailboxes (Exchange 2010)

Question
-
In Exchange 2007, Microsoft introduced the ability to export a mailbox into another mailbox. The was fantastic because when someone left the organization, I could export the mailbox to to my "archive" mailbox and it would create a subfolder within it. My managers have access to this "archive" mailbox, so if they need to refer back to communications with a client, they have easy access (rather than deal with attaching a PST to someone's Outlook so that he/she can look for an email. Also, I didn't have to maintain a growing folder of PST files somewhere on my network.
Since migrating to Exchange 2010, I have realized that the old powershell command for this no longer works, and I have been unable to figure out how to do this. Someone please tell me Microsoft didn't take away this fantastic functionality - there must simply be a new tool - command to accomplish the same thing. Please tell me Microsoft hasn't reverted back to using PST files for archiving mailboxes.
thanks,
Jefffff
Thursday, October 20, 2011 5:42 PM
Answers
-
Hi Jeff,
When you use Search-mailbox to copy items to another mailbox, you can follow these steps:
<1> Please make sure you have the permission. By default, the Discovery Management role group doesn’t have any members. No users, including administrators, have the required permissions to search mailboxes (you can add your account to be a member of Discovery Management role group)
<2>Then you can use this command to search all the items in user’s mailbox and copy the search results to a folder in another mailbox.
Search-Mailbox -Identity "user1" -TargetMailbox "user2" -TargetFolder "User1 Emails" -LogLevel Full
Note: The SearchQuery parameter specifies a search string or a query formatted using Advanced Query Syntax (AQS). Since you need all the messages returned, you need leave this parameter empty.
<3>Then you can find all the items(of user1) in User1 Emails.
Thanks,
Evan Liu
TechNet Subscriber Support in forum
If you have any feedback on our support, please contact tngfb@microsoft.com
- Marked as answer by Jefffff Monday, October 24, 2011 3:19 PM
Friday, October 21, 2011 2:37 AMModerator
All replies
-
http://technet.microsoft.com/en-us/library/ee633455.aspx
Understanding Mailbox Import and Export Requests
Thursday, October 20, 2011 6:04 PM -
Thanks for the link, but at a glance this looks like the same information I've read through before. Did I miss something or are you suggesting that I can only export to a PST file?
What I was hoping for was the ability to export a mailbox directly to a folder in another mailbox, like I could on Exchange 2007. Is that still possible somehow?
thanks,
Jeff
Thursday, October 20, 2011 6:59 PM -
I dont believe this is possible, if you use personal archives, and users leave, cant you use a retention policy to move all messages to the archive?
SukhThursday, October 20, 2011 7:36 PM -
I am sorry to say that you can not do a export directly to another mailbox in Exchange 2010. You will have to export to a PST and then import to the new mailbox. The commands could look something like this:
New-MailboxExportRequest -mailbox <MailboxToExportFrom> -FilePath <FilePath\FileName.pst>
New-MailboxImportRequest -mailbox <MailboxToImportTo> -FilePath <FilePath\FileName.pst> -TargetRootFolder "<NameOfTargetFolderInMailbox>"
Martin Sundström | Microsoft Certified Trainer | MCITP: Enterprise Messaging Administrator 2007/2010 | http://msundis.wordpress.comThursday, October 20, 2011 7:39 PM -
You may be able to accomplish this via the Search-Mailbox command http://technet.microsoft.com/en-us/library/dd298173.aspx which will let you designate a mailbox and folder to put the resulting data. Not sure if you could use a wild card to search for all items * but worth a shot to explore, else back to the PST shuffle ;-(
Troy Werelius
www.Lucid8.com
Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline EDB's and Live Exchange Servers with Lucid8's DigiScopeThursday, October 20, 2011 8:32 PM -
Hi Jeff,
When you use Search-mailbox to copy items to another mailbox, you can follow these steps:
<1> Please make sure you have the permission. By default, the Discovery Management role group doesn’t have any members. No users, including administrators, have the required permissions to search mailboxes (you can add your account to be a member of Discovery Management role group)
<2>Then you can use this command to search all the items in user’s mailbox and copy the search results to a folder in another mailbox.
Search-Mailbox -Identity "user1" -TargetMailbox "user2" -TargetFolder "User1 Emails" -LogLevel Full
Note: The SearchQuery parameter specifies a search string or a query formatted using Advanced Query Syntax (AQS). Since you need all the messages returned, you need leave this parameter empty.
<3>Then you can find all the items(of user1) in User1 Emails.
Thanks,
Evan Liu
TechNet Subscriber Support in forum
If you have any feedback on our support, please contact tngfb@microsoft.com
- Marked as answer by Jefffff Monday, October 24, 2011 3:19 PM
Friday, October 21, 2011 2:37 AMModerator -
Hi Jeff,
How about the issue, any updates?
Thanks,
Evan Liu
TechNet Subscriber Support in forum
If you have any feedback on our support, please contact tngfb@microsoft.com
Monday, October 24, 2011 1:08 AMModerator -
Thanks Evan, this was the answer. I didn't have to do anything regarding the Discovery Management role, so I guess the Administrator already had those permisssions in my environment.
Thanks for your help.
Jeff
Monday, October 24, 2011 3:22 PM