$name = Read-Host 'What user are we granting permissions to? Input full email address.' foreach($user in (Get-Mailbox -RecipientTypeDetails UserMailbox)) { $cal = $user.alias+":\Calendar" Add-MailboxFolderPermission -Identity $cal -User $name -AccessRights Author }