PowerShell Command to Export Mailbox to PST Exchange 2016/2013/2010

Summary: This write-up will guide users to use PowerShell command to export mailbox to PST Exchange 2016/2013/2010 by using Exchange Management Shell. The “New-MailboxExportRequest” cmdlet help users to export the Microsoft Exchange database mailbox to the Outlook data file. Also, the professional method helps users to save multiple Exchange mailboxes to PST and various file formats in bulk.

There are certain scenarios such as corruption, space size issues in Exchange Server, hardware failure, deletion of Exchange mailboxes, etc… These cases let Exchange and Naive users to export Exchange mailbox to Outlook data file to safeguard the data and to keep it safe and secure also. So, in the future they can import the PST file and access all the information.

Users are exporting EDB mailbox to PST file because it is used all over the world by millions of users and they can easily import the PST file into Microsoft Outlook to access the mailbox data.

Before using the Exchange PowerShell command there are certain thing that users need to do:

1. By default, the Microsoft Exchange Server doesn’t export Exchange mailboxes. One need to provide Exchange “Mailbox Import Export” role that give permission to export the EDB mailbox. Follow the command given below to assign role:

New-ManagementRoleAssignment –Role “Mailbox Import Export” –User “USER NAME”

2. Create the shared folder which store the exported Exchange data and provide full permission to the Exchange Trusted Subsystem security group. Than users will export mailbox to Outlook data file.


Use PowerShell Command to Export Mailbox to PST Exchange 2016/2013/2010

There are different Exchange mailboxes such as user, archive shared which contains important data. To export all these mailbox follow the command given below:

PowerShell Cmdlet to Export Exchange User Mailbox

New-MailboxExportRequest -Mailbox “enter mailbox name” -FilePath “\\ServerName\FolderName\nameoffile.pst”


command to export exchange mailbox to pst

PowerShell Command to Export Archive Mailbox

New-MailboxExportRequest -Mailbox “archive mailbox name” -FilePath “\\ServerName01\FolderName\nameoffile.pst” -IsArchive


powershell command to export exchange archive mailbox

Resultant File:

output file

PowerShell Command to Export Shared Mailbox to Outlook Data File

New-MailboxExportRequest -Mailbox “name of shared mailbox” -FilePath “\\ServerName02\Folder\nameoffile.pst”


powershell command to export shared mailbox

Output File:

resultant file

Note: Exchange PowerShell command only export single mailbox at a time and it doesn’t export offline/dismounted EDB file. One can use the professional solution given below to transfer unmounted Exchange database file, mailboxes and items to Outlook data file in batch from various mailboxes.

Automated Solution to Export Mailbox to PST Exchange

EDB to PST Converter provided by SysTools is the professional software that help users to export multiple Exchange mailboxes such as user, archive, shared, legacy disconnected to PST & different file format in a single shot. The tool by default create a UNICODE file and users can export any size of offline/dismounted EDB file.

Free Download Purchase Now

This utility support public and private Exchange database file. So, one can export priv and pub.edb in batch at the same time. Technical and Non-technical users can use this software and they don’t have to write any PowerShell command to export mailbox because it provides a graphical interface, which reduces their time to export Exchange database mailbox.

If any of the EDB file is corrupted then one can use the scan mode option i.e. Quick and Advance scan provided in this tool that removes corruption from Exchange database file. They can select the option to depend on the level of corrupted EDB file. By default, the file has to go through a quick scan.

The advance scan is used to remove highly or major corruption and it is also recovered permanently deleted Exchange mailboxes and data items: emails, contacts, notes, journals, tasks, calendars.

After the scanning process users can preview the healthy or recovered Exchange data before conversion. The software allows users to export entire/selective EDB file, mailboxes and items. It also create auto-create export report in CSV file format where one can see the status of exported data in success and fail count.

Key Features Of Professional Software

  1. Support and export data from EDB and STM file
  2. Preserve actual folder structure and keep metadata intact
  3. Renders data filter option to export Exchange mailbox of a certain period
  4. Remove email encryption option (SMIME/OpenPGP) from mailboxes in bulk
  5. Categories option export selective data items from multiple Microsoft Exchange mailbox
  6. Compatible with all versions of MS Exchange Server, Outlook, and Windows OS

Steps to Export Mailbox to PST Exchange 2010/2013/2016 from Offline EDB File

Step 1. Download the automated wizard in your local system and Launch it.

install the software

Step 2. Click on Add File button > Load offline Exchange database file > Click on Add button.

select add file

Step 3. Preview Microsoft Exchange EDB file > Click Export.

preview edb file data

Step 4. Select Microsoft Exchange mailboxes > Click on PST > Select the browse button to set the destination file location > Click Export.

click export

Finally, the mailboxes are exported to PST file from offline EDB file

Author Suggestion

This write provides detailed information to use PowerShell command to export mailbox to PST Exchange 2016/2013/2010 by using Exchange Management Shell. The New-ExportMailboxRequest help users to export exchange mailbox but this cmdlet export only one mailbox at a time, cannot work with unhealthy EDB file and doesn’t export mailbox from offline Exchange database file. In that case, you can use the advanced solution that is mentioned above which overcome all the limitations that use face in manual method and export mailboxes from dismounted/offline EDB file in bulk with no data loss.