Solved

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

Posted on 2014-01-30
5
5,280 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

739 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