Solved

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

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

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

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

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
A brief introduction to what I consider to be the best editor for PowerShell.
In this video we show how to create a User Mailbox 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 >> Mailb…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

863 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

25 Experts available now in Live!

Get 1:1 Help Now