Setting Exchange calendar permissions using Powershell

A trick many people seem to miss is that it’s possible to set a mailbox’s calendar permissions using Powershell. This is achieved using the Add-MailboxFolderPermission and then specifying the folder you want to set permissions on, in this case the calendar.

For example, to set it so that by default everyone has “Reviewer” access to a mailbox:
Add-MailboxFolderPermission -Identity "dave@nwtraders.msft:\Calendar" -User Default -AccessRights Reviewer

Batch export Exchange mailboxes to PST

I recently had a requirement to export a bunch of mailboxes to PST from an Exchange 2010 environment. Thankfully Exchange 2010 SP1 had been deployed so I had access to the New-MailboxExportRequest series of cmdlets. Here’s what I came up with:

$ou = "nwtraders.msft/Users/Left"
$mailboxServer = "LONEX01"
$destinationUNC = "\\LONFS01\MBOX$\"

$mailboxList = Get-Mailbox -OrganizationalUnit $ou -Server $mailboxServer
$mailboxList | foreach-object {
New-MailboxExportRequest -FilePath $($destinationUNC)$($_.Name).pst -Mailbox $_.Name -Name $_.Name
}

Continue reading Batch export Exchange mailboxes to PST