Wednesday , August 12 2020

Bulk – Export Mailboxes to PST in Exchange 2010

Its easy to Export a Mailbox to PST using Mailbox Export Request in Exchange 2010

Lets see on how to Export 1 single mailbox to PST in Exchange 2010

To Acquire RBAC Permission

Add “Mailbox Import Export” RoleAssignment to the Admin ,

New-Managementroleassignment –Role "Mailbox Import Export" –User "Administrator"

Now Create a Folder , Share it


Now Run

New-MailboxExportRequest –Mailbox "MailboxName" -FilePath \\ServerName\PST\MailboxName.pst

How to Export All the Mailboxes to PST

Step 1:

Open Exchange Management Shell

$Export = Get-Mailbox

(Saving to a Variable)

Step 2:

$Export|%{$_|New-MailboxExportRequest -FilePath "\\ServerName\pst\$($_.alias).pst"}


How to Export All the Mailboxes using a Specified date

Step 1:

Open Exchange Management Shell

$Export = Get-Mailbox

(Saving to a Variable)

Step 2:

Specifying lesser than (lt) 01-01-2012

$Export|%{$_|New-MailboxExportRequest -ContentFilter {(Received -lt "01/01-2012")} -FilePath "\\ServerName\pst\$($_.alias).pst"}

How to Export All the Mailboxes with Specific folders

Step 1:

Open Exchange Management Shell

$Export = Get-Mailbox

(Saving to a Variable)

Step 2:

Specifying folders Inbox and Sent Items

$Export|%{$_|New-MailboxExportRequest -InclueFolders "#Sentitems#,"#inbox#" -FilePath \\ServerName\pst\$($_.alias).pst}

Will look forward to add more Criteria’s in the future


About Satheshwaran Manoharan

Satheshwaran Manoharan is an Microsoft Office Server and Services MVP , Publisher of Specialized in Office365 / Microsoft Exchange / Virtualization , Sathesh is an Messaging Expert supporting/Designing/Deploying many medium size businesses to large enterprises when it comes to Corporate messaging and Virtualization Infrastructure

Check Also

OAuth and Microsoft Graph on Exchange on-premises with Hybrid Modern Authentication

Hybrid Modern Authentication (HMA) for Exchange On-Premises is being there for while which has a …


  1. Thanks Satheswarn for the helpful post. There are many situations when we require bulk conversion of Exchange mailboxes to PSTs. However, corrupted items in mailboxes stops the conversion successfully. Similar to my problem, I was exporting 1200 mailboxes to PSTs but corrupted items stop me to do so and at last, I took help from a third party program:

    This tool allowed me to perform quick conversion of Exchange Mailboxes to PSTs. It allows to convert multiple mailboxes at a time.


  2. To repair corrupt edb file use EDB to PST Converter Tool, which is efficiently repair corrupt edb file and convert it into pst file.
    Download the [b]Free to Try[/b] version to get efficient results.


  3. Hello Satheshwaran Manoharan, Found you post very informative but will this command work in online mode?

  4. Hello Satheshwaran Manoharan, I’m currently working on a bulk script for hosted exchange. Is there a posibility to use the users mail address instead of the Exchange alias for the PST filename? Almost every organisation has an office mail address.

    • Satheshwaran Manoharan

      $Export|%{$_|New-MailboxExportRequest -InclueFolders “#Sentitems#,”#inbox#” -FilePath \ServerNamepst$($_.PrimarySmtpaddress).pst}

      It should solve your problem

  5. This website is great

  6. How to Export PST of List of Users from a txt file

    Step 1:

    Open Exchange Management Shell

    $Export = Get-Content .\Mailbox.txt

    (Saving to a Variable)

    Step 2:

    $Export|%{$_|New-MailboxExportRequest -FilePath “\\servername\pst\$($_.alias).pst”}

    • thanks very much
      this script very useful thanks thanks
      and this information for people it must change path file from
      $Export = Get-Content .\Mailbox.txt to your path

      $Export = Get-Content “C:\PST\users.txt”

  7. Is it possible to bulk export Exchange 2010 archives to PST only? If so what would the command be.

    • Satheshwaran Manoharan

      Just save all the mailboxes to a variable and just export.

      –Archives? you meaning the archive mailbox ?

      Can you explain .


  8. So let me get this straight. This will take multiple mailboxes into .pst’s
    each with their own unique mailbox name separated out.
    I have about 486 mailboxes. I wanted to do one at a time but just automated.
    1:So take alias from list,
    2:convert mailbox into .pst for archival.
    3:then move to the next name in list.
    4:repeat till finished.
    I just have know idea how. Hoping you may be able to help me out. im stuck between a rock and a hard place, taking over someone who quit and left a mess.

    • Satheshwaran Manoharan

      Take the Mailbox list to CSV.

      Create them.

      Setup Domain Sharing.

      Import PST one by one.

      and recreate outlook profile.

      – No Coexistence will work in this scenario.

      • I am not going for coexistence. trying to clean up my exchange server. by getting the disabled users data off.
        Thats why just wanted to compile a csv of the disabled users that i have marked with a zzz email.
        export the .pst to a folder then go to the next name on the list and repeat till finished.
        Does that make sense?
        Thanks for your help

  9. Good info, question, how can i append the date to each PST file as well? year/ ?

    tried a few things but none work for me with the $($i.Alias).pst”

  10. Thanks Satheshwaran for all the great articles.

    I have a task to remove archive mailboxes from shared mailboxes. I plan to export all archive mailbox data to pst and import back into the primary mailbox. My question is will the import merge the data retaining the folder structure from the archive mailbox. I want to make sure no current folder data is overwritten.

    Any help would be greatly appreciated.

  11. My colleagues are suggesting paid tool over manual methods as we have very crucial data of some big organizations and we don’t want to lose it. And after few hours of researched we finally decided stellar mailbox export tool for pst extract. Can you guide me on this software

    Its urgent Manoharan!

    • Satheshwaran Manoharan

      Export via Exchange would be the best option, Its works like a charm. Why you need a third party. just to export

  12. Thanks Satheshwaran, its work for me , can you please tell me how to export the mailbox from a individual Database.

  13. How Export multiple online Archive mailbox?

  14. Hey

    I would. Ike to export and then import list of exchange archives to staging area as PST files using powershell.

    Can you advise on the steps.

  15. Hey

    I would. Ike to export and then import list of exchange archives to staging area as PST files using powershell.

    Any advise on the steps.

Leave a Reply

Your email address will not be published.