Solved

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

Posted on 2014-01-30
5
4,315 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Utilizing an array to gracefully append to a list of EmailAddresses
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
To show how to generate a certificate request 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 Servers >> Certificates…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now