Exmerge was an amazing utility of exporting a mailbox to an Exchange PST database files but the utility has now been replaced with the new Exchange Management Shell cmdlets which are named Export-Mailbox and Import-Mailbox which is also as useful was exmerge. Export-Mailbox cmdlet in the Exchange Management Shell are devised to export mailbox data from one mailbox to a folder in another mailbox.
It is important to note here that Export-Mailbox cmdlet must not be doubted as an Exchange migration tool, it simply exports mailbox data rather than migrating the entire mailbox. Hence if you wish to migrate the entire mailbox, you must use EDB to PST conversion software.
What Data is exported using Export-Mailbox cmdlet?
Export-Mailbox cmdlets are devised to export all the data including empty folders, special folders, sub-folders etc to the intended location and perform effective EDB to PST converter. Use IncludeFolders parameter to specify which folders need to be included in export and use ExcludeFolders parameter to specify which folders need to be excluded from the export.
When you use the Export-Mailbox cmdlet, you tend to export all the special folders by-default. The list of special folders include Inbox, Deleted Items, Drafts, Junk E-Mail, Outbox, Sent Items, Journal, Calendar, Contacts, Notes and Tasks. The Export-Mailbox cmdlet exports all email items such as email messages, calendar items, contacts, distribution lists, journal entries, tasks, notes as well as documents. However this Microsoft cmdlet limits exporting rules.
Moreover, Export-Mailbox cmdlet is also capable of exporting messages from dumpster as these messages are converter to regular items in the folder or Exchange PST file where you export the data.
Where is the Data Exported?
Using the Export-Mailbox cmdlet, data can be exported to a subfolder in the target mailbox and folder as specified by the user. TargetFolder parameter is configured to specify the folder on the target mailbox. The TargetFolder parameter specifies the highest-level mailbox folder that is created on the intended mailbox.
This folder contains a subfolder named Recovered Data - < Source_Mailbox_Name > - < Date_Time >. This subfolder comprises all the messages and folders so exported.
During this process, if the target folder you specified is already there on the target mailbox, then the exported mailbox data will be saved to the existing target folder. However, if the target folder is not there, the folder will be created.
Export-Mailbox cmdlet allows you to:
Therefore, you can export mailbox data from source Mailbox to a PST file. When you export data to a particular PST file, you must use the PSTFolderPath parameter to specify the path to the PST file where you want the data to be exported.
In order to perform flawless EDB to PST converter, the source and destination mailbox must be located on one of the following Exchange Server versions:
How to Export mailbox data to a PST file?
Suppose an employee is leaving the organization but wants to keep a copy of his mailbox, then he can use Export-Mailbox to move the mailbox data to a PST file.
Knowledge Tablet- Before you export mailbox data to the PST file, run Export-Mailbox on a 32-bit windows based computer running 32-bit version of Exchange 2007 and MS Outlook 2003 SP2 or later.
Consider that you wish to export a user named Ram's mailbox to the PST file C:\Temp\ram.pst, then to do so, you must run the following command:
Similarly to export all the mailboxes in the Design mailbox database to individual PST files named < new.pst >, you must run the following command:
Get-Mailbox -Database "Design Mailbox DB" | Export-Mailbox -PSTFolderPath C:\PSTFiles
Points to Ponder before EDB to PST Conversion using Export-Mailbox
Before you perform this EDB to PST converter using Export-Mailbox cmdlet, here are some roles you must be delegated with:
Troubleshooting Common Errors that arise while using Export-Mailbox
As mentioned above there are certain roles that needs to be assigned to the users, before they export mailbox using Export-Mailbox cmdlet. However, if the above mentioned roles are not assigned to the user, then he might come across the following errors. Check the errors as well as the troubleshooting tips to resolve them:
User performing EDB to PST converter using Export-Mailbox cmdlet is not delegated with the role of Exchange Administrator for the Exchange Server.
User performing EDB to PST conversion software using Export-Mailbox cmdlet is not having proper authorization for Server of Source mailbox.
For those using Exchange 2007, exmerge.exe might have gone, but with Export-Mailbox by their side, they can easily perform EDB to PST conversion software. The command shell interface of this feature makes it a favorite amongst system administrators.