关于会议室日历显示预订者信息
首先下载以下工具并安装
Microsoft OnlineServices 登录助手,下载链接如下:
Microsoft AzureActive Directory 模块,下载链接如下:
1:打开用户连接office365的powershell,右键以管理员身份运行ise
2在命令行中分别执行以下命令
1)连接到Exchange Online
$UserCredential =Get-Credential
$Session = New-PSSession-ConfigurationName Microsoft.Exchange -ConnectionUri -Credential$UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session
PSC:\Windows\system32> $UserCredential = Get-Credential
$Session= New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUrihttps://partner.outlook.cn/PowerShell-LiveID/ -Credential $UserCredential-Authentication Basic -AllowRedirection
Import-PSSession$Session
2.)Set-ExecutionPolicy RemoteSigned
PSC:\Windows\system32> Set-ExecutionPolicy RemoteSigned
可以查看如下信息在执行密令前
PSC:\Windows\system32> Get-ExecutionPolicy
Unrestricted
PSC:\Windows\system32> Set-ExecutionPolicy RemoteSigned
PSC:\Windows\system32> Get-ExecutionPolicy
RemoteSigned
3)Set-MailboxFolderPermission-Acce***ights LimitedDetails -Identity ‘会议室的邮件地址:\calendar’-User default
PSC:\Windows\system32> Set-MailboxFolderPermission -Identity'会议室的电子邮件地址.cn:\Calendar' -User default -Acce***ights LimitedDetails
4)Set-CalendarProcessing -Identity 会议室的电子邮件地址 -AddOrganizerToSubject$true -DeleteComments $false -DeleteSubject $false
PSC:\Windows\system32> Set-CalendarProcessing -Identity 会议室的电子邮件地址.cn-AddOrganizerToSubject $true -DeleteComments $false -DeleteSubject $false
5)查询某个会议室邮箱是否有权限
Get-CalendarProcessing-Identity 会议室的电子邮件地址 | selectAddOrganizerToSubject,DeleteComments,DeleteSubject
PS C:\Windows\system32> Get-CalendarProcessing -Identitybj.djs.meet@huoyunren.com | selectAddOrganizerToSubject,DeleteComments,DeleteSubject
6)查询所有会议室邮箱是否有权限
Get-Mailbox |where{$_.ResourceType -eq "Room"} | Get-CalendarProcessing | selectIdentity,AddOrganizerToSubject,DeleteComments,DeleteSubject
PS C:\Windows\system32> Get-Mailbox |where{$_.ResourceType -eq "Room"} | Get-CalendarProcessing | selectIdentity,AddOrganizerToSubject,DeleteComments,DeleteSubject
当AddOrganizerToSubject为Ture, DeleteComments为False,DeleteSubject为False时 表示该会议状态已对外公布。