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
- Open the Exchange Management Shell on your Exchange 2010 server.
- 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
- Open the Exchange PowerShell console on your Exchange 2010 server.
- 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:
- CodeTwo Exchange Migration
- Exchange Mailbox Exporter
- PST Export Tool
- Quest Exchange Mailbox Exporter
These tools often provide more features and options than the built-in Exchange tools, such as filtering, searching, and customization.
Important notes:
- Make sure you have the necessary permissions and access to the Exchange server and the mailboxes you want to export.
- Be aware that exporting large amounts of data can take a significant amount of time and may impact the performance of your Exchange server.
- PST files can become large and unwieldy, so consider using a tool that can compress or split the files to make them more manageable.