Exchange: How to export Mailboxes to PST Files

Today I will show you how to export Mailboxes from an Exchange Server to a single PST file. This blog post applies only to On-Premise Exchange Servers. By default, it’s currently not possible to export Mailboxes from Exchange Online. Let’s dive in.

Create a Network Share

PST files exports can only be stored on a network share.

New-Item -ItemType Directory -Name PST -Path C:\
New-SmbShare -Name PST -Path C:\PST -FullAccess Jeder

Start the Export Request

In this part the export is started, checked and finally deleted again.

New-MailboxExportRequest -Mailbox m.mustermann@contoso.com -FilePath \\localhost\PST\mustermann.pst
Get-MailboxExportRequest -Mailbox m.mustermann@contoso.com
Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest

Fine. That’s it. Mission accomplished.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.