Site icon Default Reasoning

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

PowerShell

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:

  1. 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.
  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 “<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

Exit mobile version