Is there a way to mass share calendars with PowerShell using office365?

I have a few clients on their own Office365 plans and they like to have all their calendars shared between eachother. They are very not tech savvy which leaves me to having to always login to each email account and send out shares and then accept them.

Is it possible to use powershell in Office365 and if so can you use it to mass share and accept calendar invites?

None of these clients are domain based nor do we run any exchange servers.

1
задан 25 August 2016 в 23:29
1 ответ

Не моя настоящая работа, но «Ace Fekay» удалось сделать эту работу красиво, используя следующие команды Powershell:

Чтобы добавить права на календарь для пользователя JohnDoe и предоставить ему права доступа «Редактор»:

Add-MailboxFolderPermission -Identity (скрыто) -Пользователь (скрыто) -AccessRights Editor

Команда для добавления разрешений к одному календарю для нескольких пользователей (список пользователей), импортируя список пользователей в текстовый файл и передавая команду:

Get-Content c: \ Scripts \ users .txt | для каждого {Add-MailboxFolderPermission -Identity Classroom2: \ calendar -User $ _ -AccessRights Editor}

Содержимое «users.txt:» (скрыто) (скрыто) (скрыто) (скрыто) (скрыто) (скрыто) (скрыто) (скрыто) http://blogs.msmvps.com/acefekay/2015/09/13/office-365-powershell-fun-with-calendars/

2
ответ дан 3 December 2019 в 20:35

Теги

Похожие вопросы