Export mail from exchange 2010 to pst

A classic request!

Exporting mail from Exchange 2010 to PST (Personal Storage Table) files can be done using the built-in Exchange tools or third-party software. Here are the methods:

Method 1: Using the Exchange Management Shell

  1. Open the Exchange Management Shell on your Exchange 2010 server.
  2. Run the following command to export mailboxes to PST files:
    Get-Mailbox -ResultSize Unlimited | ForEach-Object {Get-MailboxFolderStatistics -Identity $_.Identity | Where-Object {$_.FolderType -eq "TopLevel" -and $_.TotalItems -gt 0} | ForEach-Object {Get-MailboxFolder -Identity $_.Identity | Export-Mailbox -FilePath "C:\Path\To\PSTFiles\$_\mail.pst" -IncludeFolders "\inbox" -IncludeFolders "\sentitems" -IncludeFolders "\deleteditems" -IncludeFolders "\drafts"}}

    This command exports the mailboxes to PST files in the specified path, including the Inbox, Sent Items, Deleted Items, and Drafts folders.

Method 2: Using the Exchange PowerShell cmdlets

  1. Open the Exchange PowerShell console on your Exchange 2010 server.
  2. Run the following command to export a single mailbox to a PST file:
    Get-Mailbox -Identity <MailboxName> | Export-Mailbox -FilePath "C:\Path\To\PSTFiles\<MailboxName>.pst" -IncludeFolders "\inbox" -IncludeFolders "\sentitems" -IncludeFolders "\deleteditems" -IncludeFolders "\drafts"

    Replace <MailboxName> with the actual name of the mailbox you want to export.

Method 3: Using a third-party tool

There are many third-party tools available that can export mail from Exchange 2010 to PST files, such as:

These tools often provide more features and options than the built-in Exchange tools, such as filtering, searching, and customization.

Important notes: