****Note if your using Exchange 2010 SP1 see http://gsexdev.blogspot.com/2011/01/default-calendar-permission-powershell.html which is a version that use the new Exchange Management Shell cmdlets ***** This is a sample script that uses the calendar permission helper class I posted here. This script basically presents a Winform that can be used to firstly enumerate all the default calendar permissions of all mailboxes on an Exchange Server and then you can do a multiple select and set a new default calendar permission level for one or more mailboxes. The script gives the option of specifying the authentication setting to use and the Cas Server you want to use. By default it tries to locate a cas server using the get- WebServicesVirtualDirectory cmdlet eg [array]$calurls = Get-WebServicesVirtualDirectory $strRootURI = $calurls[0].InternalUrl.AbsoluteUri $strRootURI Using EWS impersonation allows you to set the calendar setting on a mailbox that the account running the script doesn
Pushing the Envelope in Messaging and Office 365 Development