Export Contacts Calendar Mailbox PowerShell
Sometimes, when you migrate, merge some users inside your Exchange infrastructure, you do not want them to come with a fully loaded PST. Here-under a way to export only contacts and calendar from Exchange mailboxes into PST.
From a PowerShell prompt connected to the source Exchange server:
New-MailboxExportRequest -Mailbox firstname.lastname@example.org -FilePath \\exchange01\e$\PST\bb8.pst -IncludeFolders "#contacts#/*","#calendar#/*" -Name ContactsCalendars
You can check the progress with:
Once completed, you can grab the PST copy it to your Exchange server, and then import it back with:
New-MailboxImportRequest -Mailbox email@example.com -FilePath \\exchange01\e$\PST\bb8.pst -IncludeFolders "#contacts#/*","#calendar#/*" -Name ContactsCalendars
Get-MailboxImportRequest -Name ContactsCalendars | Get-MailboxImportRequestStatistics
Note: This will import BB8’s mailbox into Simba’s mailbox.
You can also combine this with the PST Import service from Office 365. This will allow you to on board users faster on your tenant. You can also plan a second wave with the fully loaded PST. A two waves approach allow a faster “get to work” for new users with their contacts & calendar imported first and mails later.
The second benefit is that you can import the contacts & calendar each night of the week, and the big PST during the weekend without impacted queued users. Everyone will have their contacts & calendar before anyone of the big PST “block” the import pipe of Exchange Online.