Exchange 2007/2010: How to export a user's calendar items via PS from server?
Hi There
Is it possible to export a mailbox calendars item with a PS script from the server prompt?
For example "I would like to list all appointments of John Doe's mailbox from 20th April to 25 April 2011"
Do you think it is possible?
Thanks in advance
--
Moma
March 1st, 2011 4:37pm
Please refer to the articles below:
How to Export Mailbox Data
(For Exchange 2007)
For example:
Export-Mailbox -Identity <MailboxIdParameter> -StartDate "<Month/Day/Year>" -EndDate "<Month/Day/Year>" -IncludeFolders '\Calendar' -TargetFolder
<Target_Folder_Name> -TargetMailbox <MailboxIdParameter>
Create a Mailbox Export Request (For
Exchange 2010)
For example:
New-MailboxExportRequest -Mailbox Kweku -IncludeFolders "#Calendar#" -ContentFilter {(Received -lt '01/01/2010') -and (Received -gt '01/01/2009')} -FilePath \\PSTFileShare\Kweku\LitigationHold.pst
James Luo
TechNet Subscriber Support
in forum
If you have any feedback on our support, please contact
tngfb@microsoft.com
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
March 2nd, 2011 3:05am
Please refer to the articles below:
How to Export Mailbox Data
(For Exchange 2007)
For example:
Export-Mailbox -Identity <MailboxIdParameter> -StartDate "<Month/Day/Year>" -EndDate "<Month/Day/Year>" -IncludeFolders '\Calendar' -TargetFolder
<Target_Folder_Name> -TargetMailbox <MailboxIdParameter>
Create a Mailbox Export Request (For
Exchange 2010)
For example:
New-MailboxExportRequest -Mailbox Kweku -IncludeFolders "#Calendar#" -ContentFilter {(Received -lt '01/01/2010') -and (Received -gt '01/01/2009')} -FilePath \\PSTFileShare\Kweku\LitigationHold.pst
James Luo
TechNet Subscriber Support
in forum
If you have any feedback on our support, please contact
tngfb@microsoft.com
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Hi
Thanks for you prompt reply. Ok for exporting in PST, so I suppose that if I would like just to LIST those appointments, I should create another script to query against the PST and give me a "simple text" list (something like the output of "get-eventlog
-application" command)
March 2nd, 2011 5:21pm