How to Export Exchange Calendar Items to PST via PowerShell Commands

In Microsoft Exchange, Calendar plays a significant role in scheduling meetings, tasks and events. Sometimes, these Calendar entries may need to be moved from Exchange mailbox into a PST file to re-import the PST in Microsoft Outlook.

Exchange Administrators can export Exchange Calendar items to PST by using ‘PowerShell Date Range commands’ and Exchange Admin Center, and extract the details from Live Exchange environment. But, there are limitations of PowerShell commands and Exchange Admin Center.

This blog post presents both PowerShell and Exchange Admin Center based calendar export methods, their limitations, and how to overcome these.

Solution 1: Export Calendar entries to PST by using PowerShell Date Range commands:

In exchange 2016, 2013, 2010 and almost all earlier versions, Admins can export only the Calendar entries and save them in PST format with the help of PowerShell commands in Exchange Management Shell.

Let’s check the prerequisites to export the calendar entries:

  1. Create a Network-shared folder
  2. Grant Read/Write permissions to the group Exchange Trusted Subsystem to the network share where calendar entries are moved.

In the absence of these prerequisites, Admins will receive an error message ‘not able to establish the connection to the target mailbox.’

Steps to Export Exchange Calendar items to PST:

  1. Execute the following PowerShell command to export specific Calendar entries (for a particular date-range) to PST format:

Export-Mailbox-Identity –StartDate ““–EndDate”” –IncludeFolders ‘\Calendar’ –FilePath \\PSTFile\FolderName\FileName.pst

  1. Specify the StartDate parameter for the Date to move Calendar entries and specify till Date with the EndDate parameter.
  2. Access the PST file on a Network share

Solution 2: Export Exchange Calendar to Microsoft Outlook PST with Exchange Admin Center (EAC)

Let’s check the prerequisites to export the calendar entries using EAC:

  1. Login to Exchange server using administrator rights
  2. Use the Command prompt to run the commands

Note: Admins can export entire mailbox and not specific Calendar entries by using the commands in EAC

Steps to Export Exchange Calendar items to PST:

  1. Execute the following command to export specific Calendar entries (for a particular date-range) to PST format:

‘Get-ECPVirtualDirectory | Format-List InternalURL, ExternalURL’

  1. By using this command, the Admin gets a specific link next to the Internal Link. This link is used to convert the Exchange mailbox message to PST format.
  2. Open Internet Explorer and type-in the received URL to open EAC login service
  3. Create a shared folder on Network drive (this is the place where exported data is saved as PST). The folder on Network drive helps in converting and saving Exchange mailbox to PST file.

Note: Do not make this folder on C:

  1. Assign full Access rights to Exchange Trusted System (ETS) for the shared folder. Next, assign full authority at the Share level and the Security level to ETS
  2. Log out and again login to Exchange Admin Panel to verify that the new Settings work properly after assigning full access rights to ETS.
  3. Run the given below command to view Import-Export wizard in Exchange 2016,2013,2010

Command syntax:

NewManagementRoleAssignment- Role “Mailbox Import Export” – User XYZ

Refresh the Settings after applying the command syntax and view the Export option

  1. Browse the Exchange user mailbox items including Emails, Calendar entries, Contacts and more.
  2. Provide the file path of the folder to save the exported PST file in the folder

All the mailbox items are exported to PST file format

Solution 3: Export Exchange Calendar to PST by using Converter software for EDB

Let’s check the prerequisites to export the calendar entries using converter software for EDB:

  • Install the software on the same system where EDB file is available. This system should be the member of Exchange server domain
  • The user must connect to Domain Controller as Exchange Administrator with full rights

Steps to Export Exchange Calendar items to PST:

  1. Open converter software for EDB
  2. Select EDB file and click on Scan button
  3. The software displays a free preview of the recoverable data. Select the mailbox and click on the Calendar folder
  4. Click on Save button, the checkbox for PST and browse the location to save the PST file

The Exchange Calendar items are saved in PST format

Limitations of using PowerShell commands and EAC approach

  1. PowerShell commands have limitations. The commands are rendered useless due to Bad items Limit errors or when New MailboxExportRequest Access to Path is Denied
  2. Using the EAC command, all mailbox items are exported to PST which may need more time and space to collect data.

Conclusion

In-depth analysis of the three solutions concludes that exporting Exchange Calendar items to PST via PowerShell command is not an easy process. The process requires Administrator rights, knowledge of PowerShell and EAC commands and time to execute these commands effectively. Secondly, the EAC approach results in complete mailbox conversion.

In contrast, using an EDB converter software helps Administrators extract specific assigned calendar entries and save them in PST format.

Leave a Reply

Your email address will not be published. Required fields are marked *