If the target mailbox is big or you need to export a few mailboxes - check the exporting status using this command:ĤAfter the export has completed, you will see the desired PST file by the network path specified.ĥIf you need to export a few mailboxes at once, then you can create a simple script:įirst, let’s create a PowerShell variable to store the list of usernames: The Exchange will queue the export request and execute it as soon as possible.
#Export exchange 2010 mailboxes to pst how to
How to Export Exchange Mailbox to PST with PowerShell Script Let’s export the data using Exchange Management Shell. Assign “Write” permissions to the network share for the user or group with “Mailbox Import Export" rights. A network share is a good option if you use a few CAS servers or prefer to store mailbox data somewhere outside. Since a mailbox export can perform on the Exchange server with a Client Access Server (CAS) role, it is necessary to ensure access to the selected folder. You can gain the necessary rights by running the following command in Exchange Management Shell with the account having security groups management rights: New-ManagementRoleAssignment -Role "Mailbox Import Export" -User DOMAIN\USERĬhange DOMAIN\USER to the account from which you will perform the export.Ĭreate a network share for the folder you will use as a PST storage.
Microsoft Exchange: Exporting Mailboxes to PST