Share via


Exchange 2010: Bulk Export Mailboxes to PST

It is easy to Export a Mailbox to PST using Mailbox Export Request in Exchange 2010.

Let's see 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

http://careexchange.in/wp-content/uploads/2012/06/image_thumb15.png

Now Run

New-MailboxExportRequest –Mailbox “MailboxName” -FilePath ``\\ServerName\PST\MailboxName.pst New-MailboxExportRequest

 

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 "file://servername/pst/$($_.alias).pst"}

  

http://careexchange.in/wp-content/uploads/2012/06/image_thumb16.png

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

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 ``file://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 file://servername/pst/$($_.alias).pst}

 

Criteria will be added in the future.