首页 > 代码库 > Set a Room Mailbox to Show Details of a Meeting in its Calendar – Office 365

Set a Room Mailbox to Show Details of a Meeting in its Calendar – Office 365

You may notice that meetings with a ‘Room’ mailbox will by default only show a “Busy” status. Many, including the organisation I work for, wish to have (at the very minimum) the following displayed in the Room’s calendar:

Organiser of the meeting, and The subject of the meeting Below I will demonstrate how to set the permissions so that all meetings (except those explicitly marked as ‘Private’) publicise the above details to all who view its calendar.

First make sure you have the remote signed execution policy set to true. You can do this by running PowerShell in admin mode and running: Set-ExecutionPolicy RemoteSigned Next, run the following to authenticate your self and import PowerShell commands to your local session:

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

 

Set the Room calendar to show ‘limited details’ by default

使用 Set-MailboxFolderPermission 命令显示会议室的详细信息. 

Set-MailboxFolderPermission -AccessRights LimitedDetails -Identity Room:\calendar -User default

 

使用 Set-CalendarProcessing 命令显示会议组织者

Set-CalendarProcessing -Identity testroom -AddOrganizerToSubject $true -DeleteComments $false -DeleteSubject $false

Set a Room Mailbox to Show Details of a Meeting in its Calendar – Office 365