windows_wiki:powershell_-_grant_user_author_rights_to_all_calendars

This is an old revision of the document!


This script will prompt for the user to granted permissions, then grant them permissions to ALL mailboxes.

GrantUserAuthorAllCalendars.ps1
$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
 
}
  • windows_wiki/powershell_-_grant_user_author_rights_to_all_calendars.1425680001.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)