© 2019 Avaya Inc. All rights reserved.
© 2015 Avaya Inc. All rights reserved. NDA Confidential, Use pursuant to your agreement.
Change Calendar Room Resource Settings using PowerShell
• Note: this step is very important to view meeting subject and private flag also in
Room calendars.
• Start Exchange PowerShell using the “Run as Administrator” option.
This option is available when you right-click the Exchange Powershell app without
launching it.
• Enter following command:
$UserCredential = Get-Credential
• Enter the Office 365 administrator username/password in the dialog box.
Make sure that this account has permissions for both “Organization Management” and
“Recipient Management”.
• Prepare the session by running the following command:
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri
https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -
Authentication Basic -AllowRedirection
• Note: If you are in China, the command you enter is slightly different. Use
partner.outlook.cn in place of outlook.office365.com in the above command.
• Connect the session using the following command.
Import-PSSession $Session
• If you see a message that begins “If you see error like “Import-PSSession : Files cannot
be loaded…”, enter the following command:
Set-ExecutionPolicy Unrestricted
• Note that this command will fail if you are not running Windows Powershell as an
Administrator, as required above.
• Check the settings for the calendar resource with following command, changing the value
for “room_name” to the actual room name value.
Get-CalendarProcessing -Identity "room_name" | Format-
List Identity,DeleteComments,DeleteSubject,AddOrganizerToSubject,RemovePrivateProp
erty
• Verify the responses for the following values:
"DeleteSubject", "AddOrganizerToSubject", "DeleteComments", and
"RemovePrivateProperty",
In most cases, these values are set to True.
Identity : portertest.com/Users/room_name
DeleteSubject : True
AddOrganizerToSubject : True
DeleteComments : True
RemovePrivateProperty : True
• Change the settings for the room with following command, changing the value for
“room_name” to the actual room name value.
Set-CalendarProcessing -Identity "room_name" -AddOrganizerToSubject $false -
OrganizerInfo $true -DeleteAttachments $true -DeleteComments $false -DeleteSubject
$false -RemovePrivateProperty $false
• After running these commands, the following settings will be set:
Identity : portertest.com/Users/room_name
DeleteSubject : False
AddOrganizerToSubject : False