Export and Import Mailbox data to a PST file on Exchange Server 2007

This procedure describes how to export all mailboxes from one Exchange Server to a PST files and how to import the PST files to another Exchange Server in a different domain. Before you begin make sure that:

  • You have a computer that has Outlook 2003 (SP2) or 2007, Exchange 2007 Management Tools (32-bit version), PowerShell and .NET Framework installed
  • Logon with an account that has Exchange Server Administrator and Local Administrator rights
  • You have full access to the users’ mailbox on both servers. See the note below on how to do it.

 

    1. Start the Exchange Management Shell and type the following:[PS] C:\>Get-Mailbox –Database “\” | Export-Mailbox –PSTFolderPath C:\PSTFiles to export all users mailbox to a PST file. Press A for Yes to All. Depending on the size of your database, the export procedure could take a long time to complete.
    2. Now the mailboxes are exported to the PST files, make sure that the PST file name matches the alias of the users’ account in the other domain.
    3. Next, import the PST files to the other Exchange Server by typing the following: [PS] C:\>Get-Mailbox –Database “\” | Import-Mailbox –PSTFolderPath C:\PSTFiles and press A for Yes for All. Wait until the import operation completes.

    Note:
    To grant the Administrator Full Access rights on the database type the following command:
    [PS] C:\>Get-Mailbox -Database “\” | Add-ADPermission -User Administrator -AccessRights GenericAll

    2 thoughts on “Export and Import Mailbox data to a PST file on Exchange Server 2007

    1. Thanks to much. realy i love this artical. Please send your new artical on my mail.

      thanks Regard.
      Mohamed Kalim Ansari.

    2. In order to use Export_mailbox cmdlet, users should have sufficient permissions and another limitation is that this cmdlet does not export those mailboxes which have too many corrupted items. In such cases a third party tool may help the users to perform quick as well as accurate conversion. One such tool that easily fixes corruption, rebuilds corrupted items, and perform EDB to PST conversion, is here: http://www.serversdatarecovery.com/exchange.html

      thanks
      Jim

    Leave a Reply

    Your email address will not be published. Required fields are marked *