有没有办法使用Office365与PowerShell共享日历?

我有一些自己的Office365计划的客户,他们喜欢所有的日历之间彼此共享。 他们是非常不科技的,这使我不得不经常login到每个电子邮件帐户,并发送股票,然后接受他们。

是否有可能在Office365中使用powershell,如果是的话,你可以使用它来大量分享和接受日历邀请?

这些客户端都不是基于域的,也不运行任何交换服务器。

不是我的实际工作,但“王牌Fekay”设法使用以下Powershell命令很好地工作:

要为用户添加日历的权限,JohnDoe并为他提供“编辑者”访问权限:

Add-MailboxFolderPermission -Identity [email protected]:\ Calendar -User [email protected] -AccessRights Editor

为多个用户(用户列表)添加权限给一个日历的命令在文本文件中导入用户列表并pipe道化该命令:

Get-Content c:\ Scripts \ users.txt | foreach {Add-MailboxFolderPermission -Identity Classroom2:\ calendar -User $ _ -AccessRights Editor}

“users.txt”的内容:[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

参考 : http : //blogs.msmvps.com/acefekay/2015/09/13/office-365-powershell-fun-with-calendars/