Solved

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

Posted on 2014-01-30
5
4,716 Views
Last Modified: 2014-02-17
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.
0
Comment
Question by:the_omnific
  • 3
5 Comments
 
LVL 13

Expert Comment

by:imkottees
ID: 39824424
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
0
 
LVL 53

Expert Comment

by:Will Szymkowski
ID: 39824489
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.
1
 
LVL 1

Author Comment

by:the_omnific
ID: 39848865
The command added an additional calendar. It did not replace the existing one.
0
 
LVL 1

Accepted Solution

by:
the_omnific earned 0 total points
ID: 39855278
I manually imported the PST via Outlook.
0
 
LVL 1

Author Closing Comment

by:the_omnific
ID: 39864344
Resolved myself.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A procedure for exporting installed hotfix details of remote computers using powershell
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
This video discusses moving either the default database or any database to a new volume.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question