Differences
This shows you the differences between two versions of the page.
windows_wiki:powershell_-_grant_user_author_rights_to_all_calendars [2015/03/09 23:42] billdozor |
windows_wiki:powershell_-_grant_user_author_rights_to_all_calendars [2019/05/25 23:50] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Grant User Author Rights to Calendars ====== | ||
- | **General Information** | ||
- | This script will prompt for the user to granted permissions, | ||
- | |||
- | **Checklist** | ||
- | * Powershell CLI installed | ||
- | |||
- | ---- | ||
- | |||
- | ===== The Code ===== | ||
- | |||
- | <file powershell 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+": | ||
- | |||
- | Add-MailboxFolderPermission -Identity $cal -User $name -AccessRights Author | ||
- | |||
- | } | ||
- | </ |