How to export Exchange mailbox to PST using PowerShell

The following is a comparison between exporting an Exchange mailbox to PST format with Windows PowerShell and RecoveryManager Plus.

Windows PowerShell

Steps to export an Exchange mailbox to PST using PowerShell:

  • Change the execution policy in your PowerShell to Remote Signed.
  • Provide the credentials of a user who is a member of the Organization Management role group.
  • Create a new PowerShell session.
  • Initiate a new export request and provide the path where you wish to store the exported PST file.
  • Terminate the PowerShell session.

Sample script:

Set-ExecutionPolicy RemoteSigned
$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://%26lt%3Bserverfqdn%26gt%3B/PowerShell/ -Authentication Kerberos -Credential $UserCredential
Import-PSSession $Session -DisableNameChecking
New-MailboxExportRequest -Mailbox "Valeria Barrios" -FilePath \\SERVER01\PSTFiles\Vbarrios.pst
Remove-PSSession $Session
Click to copy the script

RecoveryManager Plus

To export an Exchange mailbox using RecoveryManager Plus,

  • Navigate to Exchange tab > Export > Export to PST.
  • Click on the New export job button and select the mailbox that you want to export.
  • Choose if you want to export the entire mailbox contents to PST format or just items within a particular time period.
  • Select if you want to secure your PST with a password.

Screenshot

Export to PST

» Start 30-day Free Trial

Following are the limitations in exporting Exchange mailboxes to PST format using Windows PowerShell:

  • PowerShell only allows you to export entire mailboxes to PST format. It does not provide a way to export just a part of it.
  • PowerShell does not allow you to secure the exported PSTs with a password.
  • IfPowerShell disconnects, the export operation has to be restarted from the beginning. There’s no provision to restart the export process from the moment when it was interrupted.

Using RecoveryManager Plus to export Exchange mailboxes to PST overcomes all the limitations of PowerShell while completely eliminating the need to execute complex scripts for every export job. You can export entire mailboxes or just a part of it to PST format, secure them with AES-256 encryption standard, and resume export operations if they are interrupted for any reason.

Overcome the limitations of PowerShell by using
RecoveryManager Plus to restore deleted objects.

  •  
     
  •  
  • By clicking 'Download now', you agree to processing of personal data according to the Privacy Policy.

Thank you for downloading!

Your download should begin automatically in 15 seconds. If not, click here to download manually.

  • Embark on your script-free AD Self-service password management with ADSelfService Plus.
  •  
  • By clicking 'Get your free trial now', you agree to processing of personal data according to the Privacy Policy.
  • Thank you for downloading!

    Your download should begin automatically in 15 seconds. If not, click here to download manually.

Related Resources

A single pane of glass for Active Directory, Azure Active Directory,
Microsoft 365, Google Workspace, and Exchange Backup.
  • » Personal WorkDrive backup
  • » Backup retention
  • » Incremental backup