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.
- Start the Exchange Management Shell and type the following: [PS] C:>Get-Mailbox –Database “<Exchange Server FQDN><Database Name>” | 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.
- 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.
- Next, import the PST files to the other Exchange Server by typing the following: [PS] C:>Get-Mailbox –Database “<Exchange Server FQDN><Database Name>” | 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 “<Exchange Server FQDN><Database Name>” | Add-ADPermission -User Administrator -AccessRights GenericAll
Cheers!
– Marek.Z