修改组织内用户日历共享方式

下面的脚本可以帮助你将组织内的用户日历共享方式改为,所有组织内用户都可以相互的查看任何一个人的日历共享信息,并且以详情的方式显示(Office 365默认只显示忙闲信息)。

Set-ExecutionPolicy RemoteSigned

$LiveCred = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri  https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic –AllowRedirection

Import-PSSession $Session

Foreach ($a in (Get-Mailbox).Identity) {

$a+=”:\日历”

Set-MailboxFolderPermission -Identity $a -User Default -AccessRights Reviewer

}

Latest posts by 管理员 (see all)
发布于: 浏览:5164 次

还没有评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据