Assign Permissions to all mailboxes using Mail Enabled Security Group.


Add all users that need the following rights to a Mail Enabled Security Group.

Then add permissions to calendars with this script:

$allmailbox =
Get-Mailbox -Resultsize
Unlimited -Filter
{RecipientTypeDetails -eq
Foreach ($Mailbox
in $allmailbox)
$path =
+ “:”
+ (Get-MailboxFolderStatistics
| Where-Object
{ $_.Foldertype
-eq “Calendar”
} | Select-Object
-First 1).Name
add-mailboxfolderpermission –identity ($path)
–Accessrights editor

Now everybody is happy, happy, joy, joy.
Author: Harri Jaakkonen

Leave a Reply

Your email address will not be published. Required fields are marked *