Zachary Loeber

I eat complexity and am never without a meal.

Update: Get-CalendarPermission

Going through older code is a bit like looking through an old yearbook or photo album. If the pictures within are old enough you usually end up laughing at how little you recognize yourself and maybe even marvel a bit at how far you have come. This old function I wrote isn’t the worst of my code but I was still able to update it for measurable improvements.

The previous script accepted only strings and performed get-mailbox against it. This version will take a mailbox object from the pipe as well as take a string. This should speed up results in some cases and is far easier to use inline. Here is a quick example getting all the non-standard calendar permissions for all mailboxes and exporting to csv:



Here is the function in its entirety.

This function has been uploaded to technet as well.