Skip to main content
AK - Technology

Main navigation

  • Home
  • Knowledge Base
  • Services
  • Contact

Breadcrumb

  1. Home

Calendar Office365 - mass permission assignment in PS

//define user variable (user does not have permissions to other users calendars - other users do not have permissions to user's calendar as well)
$calendarOwner = "user1@contoso.com"

//define arry
$user = @("user2@contoso.com", "user3@contoso.com", "user4@contoso.com", "user5@contoso.com", "user6@contoso.com", "user7@contoso.com")

//add Editor  Calendar permissions for each user in the arry
$user|%{Add-MailboxFolderPermission -Identity $calendarOwner":\Calendar" -User $_ -AccessRights Editor -Confirm:$false}

//add Editor permissions to each user mailbox in the arry
$user|%{Add-MailboxFolderPermission -Identity $_":\Calendar" -User $calendarOwner -AccessRights Editor -Confirm:$false}

News

  • Multi‑Factor Authentication Is No Longer Optional
  • Useful Paid Tools
  • Section 2 of Secure Network Act
  • Tecsun Electronics
  • 3 Samsung Galaxy Phones - end of support

ak technology service 
708-717-4645