title: Setting Exchange 2010 Calendar permissions with powershell script
body: <p>I have found the following script and modified it slightly to set the default Calendar permissions for the users but not the resource mailboxes. It looks like it will run correctly, but could you take a look and see if you see any glaring issues with it? </p>
  
  <pre><code>$mailboxes = Get-Mailbox | where {$_.ResourceType -ne "Room"}
  
  $mailboxes | foreach {
      $user=$_.Alias
      $path=$user+”:\Calendar”
      Set-MailboxFolderPermission –Identity $path -User Default -AccessRights Reviewer
  }
  </code></pre>