32 C
Dubai
Tuesday, March 19, 2024

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

image

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"}

image

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

 

Satheshwaran Manoharan
Satheshwaran Manoharanhttps://www.azure365pro.com
Award-winning Technology Leader with a wealth of experience running large teams and diversified industry exposure in cloud computing. From shipping lines to rolling stocks.In-depth expertise in driving cloud adoption strategies and modernizing systems to cloud native. Specialized in Microsoft Cloud, DevOps, and Microsoft 365 Stack and conducted numerous successful projects worldwide. Also, Acting as a Technical Advisor for various start-ups.

Related Articles

26 COMMENTS

  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: http://www.serversdatarecovery.com/exchange.html

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

    Thanks
    Jerriff

  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.

    [b]http://www.recoverfilesdata.com/exchange-edb-pst-converter.html[/b]

  3. 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.

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

      It should solve your problem

  4. 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”

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

      –Archives? you meaning the archive mailbox ?

      Can you explain .

      Thanks

  5. 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.

    • 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

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

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

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

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

  8. 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.

  9. 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

Please enter your comment!
Please enter your name here

× How can I help you?