Link to home
Start Free TrialLog in
Avatar of Carl Billington
Carl BillingtonFlag for Australia

asked on

Powershell / Exchange: Copy calendar items from one mailbox to another

Using Powershell / Exchange 2010 SP2
 
Is there a way that I can copy calendar items from one mailbox to another?
 
I do not want to create multiple calendars. I simply want to copy the calendar items only.
 
Thanks for your help.
Avatar of Kotteeswaran Rajendran
Kotteeswaran Rajendran
Flag of Malaysia image

Hi,

You can try this..

New-MailboxExportRequest -Mailbox MailboxName -FilePath \\Server\Scripts\USER1.pst -IncludeFolders "Calendar\*"

New-MailboxImportRequest -Mailbox MailboxName -FilePath \\Server\Scripts\USER1.pst -IncludeFolders "Calendar\*"

by manually:

http://windowsitpro.com/windows/q-how-can-i-export-and-import-calendar-data-microsoft-office-outlook-2010
You can accomplish this using powershell. You will need to export only the calendar items and then import the calendar items to a mailbox specifying the calendar as the target. See example below...

Export Calendar Items
New-MailboxExportRequest -Mailbox <joe> -IncludeFolders "calendar" -FilePath \\servername\Sharename\joescalendar.pst

Open in new window

*You need to make sure that when you are using the export command you have to specify a Share name. If you simply use a UNC path that does not represent a share it will not work

Import Calendar Items
New-MailboxImportRequest -Mailbox <sarah> -FilePath \\servername\sharename\joescalendar.pst -TargetRootFolder "Calendar" -IncludeFolders "Calendar"

Open in new window


This will import the calendar items using joescalendar.pst and import them into sarah's calendar.

Will.
Avatar of Carl Billington

ASKER

The command added an additional calendar. It did not replace the existing one.
ASKER CERTIFIED SOLUTION
Avatar of Carl Billington
Carl Billington
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Resolved myself.