關於會議室日曆顯示預訂者信息
首先下載以下工具並安裝
Microsoft OnlineServices 登錄助手,下載鏈接如下:
http://www.microsoft.com/zh-cn/download/details.aspx?id=41950
Microsoft AzureActive Directory 模塊,下載鏈接如下:
http://go.microsoft.com/fwlink/p/?linkid=236297
1:打開用戶連接office365的powershell,右鍵以管理員身份運行ise
2在命令行中分別執行以下命令
1)連接到Exchange Online
$UserCredential =Get-Credential
$Session = New-PSSession-ConfigurationName Microsoft.Exchange -ConnectionUri https://partner.outlook.cn/PowerShell-LiveID/ -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 [email protected] | 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時 表示該會議狀態已對外公佈。