Kernel Data Recovery Blog

Export Exchange 2016, 2013, & 2010 mailboxes backup to PST using PowerShell commands

Read time 4 minutes

Summary: This article discusses the critical role of Exchange backups, outlining manual methods involving PowerShell commands for creating backups of Exchange mailboxes. It highlights advantages and prerequisites for both single and multiple mailbox exports, but also mentions their limitations. The article recommends using the EDB to PST Converter tool as a comprehensive solution for Exchange data backup and recovery, highlighting its features and compatibility with all Exchange versions. Ultimately, it suggests this tool as a more reliable alternative to PowerShell commands for safeguarding mailbox data.

When critical incidents such as server crashes or disasters render your Exchange data inaccessible, your lifeline becomes the most recent backup. Exchange backups, especially those with recent timestamps, assume the role of saviors for administrators. In this discussion, we will explore the methods for creating backups of Exchange mailboxes.

How to backup Exchange mailboxes?

Administrators have the option to safeguard all Exchange data through either manual methods or specialized tools. Among the manual methods, the most widely favored approach involves utilizing PowerShell commands, which is compatible with Exchange Server versions dating back to 2010, including 2013, and 2016.

Before writing the steps to execute the process, let us see some of its advantages.

This article provides comprehensive guidance on manually exporting Exchange mailbox backups to PST files using PowerShell commands. It presents a step-by-step walkthrough, ensuring clarity and precision throughout the process. Additionally, readers will discover an alternative backup method involving third-party software, offering a comprehensive approach to safeguarding their data.

PowerShell commands to export mailboxes for Exchange Server 2016, 2013, & 2010

As previously mentioned, PowerShell commands can be employed to back up both individual and multiple Exchange mailboxes. In the following sections, we will delve into each of these backup methods separately for a comprehensive understanding.

But, before that, the necessary prerequisites must be met.

PowerShell cmdlets to export single mailbox

Let us directly see the syntax for exporting a single Exchange mailbox to PST:

“New-MailboxExportRequest -Mailbox < user >” -FilePath \\<server FQDN >\ < shared folder name >\ < PST name >.pst”

In the above syntax, File Path defines network share path of PST file where data is to be exported. And Mailbox refers to the mailbox name.

Filter: Filters allow to export mailbox data with a filter. E.g., Export items before a specific date (01/05/2018) and emails starting from a particular word or letters (re).

“New-MailboxExportRequest -Mailbox < user > -ContentFilter {(Received -lt ’01/05/2018′) -and (Subject –like ‘re*’)} -FilePath \\< server FQDN >\ < shared folder name >\ < PST name >.pst”

Export specific folder like Inbox, sent items: The syntax to move only specific folders (like Inbox and SentItems) is given below:

“New-MailboxExportRequest -IncludeFolders “#Inbox#/*”,”#SentItems#” -Mailbox < user > -FilePath \\ < server FQDN >\ < shared folder name >\ < PST name >.pst”
PowerShell cmdlets to export multiple mailboxes

As mentioned earlier, pre-requisites for this method are also same as that for exporting single mailbox.

After fulfilling required conditions, execute the following cmdlet.

$AllMailboxes|%{$_|New-MailboxExportRequest -FilePath \\ < server FQDN >\< shared folder name >\$($_.Alias).pst}

This cmdlet serves the purpose of exporting all mailboxes to PST files. Similar to the single-mailbox migration approach, you have the flexibility to migrate mailboxes with added parameters using the corresponding cmdlets.

The manual method seems easy, but in actuality, it has some minus points as well.

So, it is hard to rely singly on this PowerShell method to export Exchange backup files to PST.

A complete solution to export Exchange Server 2010/2013/2016 mailboxes

If you encounter any of the aforementioned issues and encounter difficulties when attempting to export Exchange mailboxes to PST, rest assured that a comprehensive solution for Exchange data backup and recovery is available to you – the Kernel for EDB to PST tool.

This powerful tool boasts several key advantages:

Conclusion

Utilizing PowerShell commands for exporting and backing up mailbox data to an Outlook PST file offers both advantages and drawbacks. To circumvent the potential challenges associated with this cmdlets approach, there exists an efficient and straightforward Exchange EDB Recovery tool. This tool is compatible with all versions of Exchange, ensuring seamless data retrieval and protection.