Exchange - How To configure room properties with PowerShell
In some occasions it may happen that the subject value is showing the organizer or that information from private meetings is shown on the displays. These kind of room properties can only be configured using PowerShell, this manual explains how this can be configured.
Please note that the commands which need to be entered into PowerShell are bold to clearly indicate what needs to be entered into PowerShell.
This is related to the following Exchange versions:
Exchange Server 2013 Enterprise, Exchange Server 2013 Standard Edition, Exchange Server 2010 Enterprise, Exchange Server 2010 Standard, Exchange Server 2016 Enterprise Edition, Exchange Server 2016 Standard Edition
Requirements
If you want to configure room properties using PowerShell you need to meet the following requirements:
Administrator permissions for your Exchange environment
Basic knowledge of PowerShell
Search for PowerShell on your local machine, right mouse click the icon and run it as an administrator.
Enter the following command:
$UserCredential = Get-Credential
A pop-up will open, please enter your Office365 credentials with administrator permissions.Enter the following command (Do not forget to change the URL of Exchange in the command):
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri <http://<ServerFQDN>/PowerShell/> -Authentication Kerberos -Credential $UserCredentialAfterwards enter the following command:
Import-PSSession $Session –DisableNameCheckingNow you are able to look into the properties of your rooms. To check the properties please use the following command (please change the <EmailAddressOfTheRoom> with the proper name of the room):
For Exchange Server 2016,Exchange Server 2013 or Exchange Server 2010:
Get-CalendarProcessing -Identity <EmailAddressOfTheRoom> | FL
Exchange Server 2007:
Get-MailboxCalendarSettings -identity <EmailAddressOfTheRoom> | FLTo configure the room correctly please use the following command (please change the <EmailAddressOfTheRoom> with the proper name of the room):
For Exchange Server 2016,Exchange Server 2013 or Exchange Server 2010:
Set-CalendarProcessing -Identity <EmailAddressOfTheRoom> -DeleteSubject $False -AddOrganizerToSubject $False
Exchange Server 2007:
Set-MailboxCalendarSettings -Identity <EmailAddressOfTheRoom> -AutomateProcessing AutoAccept -AddOrganizerToSubject $False -DeleteSubject $False
-DeleteSubject: If this option is enabled it will remove the original subject from the appointments.
-AddOrganizerToSubject: if this option is enabled it adds the organizer to the subject value.
You can use the following link to download this manual as a PDF-file:
Related articles