Command to export events/appointments for all user
Is there any command through which I can export events/appointments for all the users of the org ?
July 1st, 2015 2:44am

I'm no scripting genius, but I'm thinking this might work:

-------------------------------------------------------------------------------------------------------------------

$mailboxes = Get-Mailbox -ResultSize Unlimited

ForEach ($mailbox in $mailboxes){

New-MailboxExportRequest $mailbox -includefolders Calendar -FilePath "\\server\$mailbox_calendar.pst"

}

-------------------------------------------------------------------------------------------------------------------

At least my thought process is, this will put all mailboxes in the variable $mailboxes, then perform a new export request for each, and save as the $mailbox_calendar.pst filename.

I would test in a lab or something first though.


  • Edited by DJStatik 12 hours 12 minutes ago
Free Windows Admin Tool Kit Click here and download it now
August 5th, 2015 3:17pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics