Installing PowerShell module

Resource: PowerShell Gallery | ExchangeOnlineManagement 3.1.0

# run as admin
Install-Module -Name ExchangeOnlineManagement -RequiredVersion 3.1.0

Configure Resource Schedule

Connect-ExchangeOnline
# Login with MS account with administrative privileges

# Fix resource working hours
# Add all available resource mailboxes into a variable   
$rooms = Get-Mailbox -RecipientTypeDetails RoomMailbox  
  
# Set mailbox Timezone, Language and Date & Time formats to UK  
$rooms | ForEach-Object {Set-MailboxRegionalConfiguration $_.alias -TimeZone 'Asia/Singapore' -language 'en-GB' -DateFormat 'dd/MM/yyyy' -TimeFormat 'HH:mm'}  
  
# Update the calendar's working hours start & end time and timezone to our UK corp standard  
$rooms | ForEach-Object {Set-MailboxCalendarConfiguration $_.alias -WorkingHoursTimeZone 'Asia/Singapore' -WorkingHoursStartTime '08:00:00' -WorkingHoursEndTime '18:00:00'}

Configure Resource Subject

Teams meeting room is configured to replace meeting subject with username. Making it less informative.

Resource: Display shows organizer’s name instead of subject | Meeting Room 365 Support

Connect-ExchangeOnline
# Login with MS account with administrative privileges

$rooms = Get-Mailbox -RecipientTypeDetails RoomMailbox

$rooms | ForEach-Object {Set-CalendarProcessing -DeleteSubject $False -AddOrganizerToSubject $False}
Last modified: 15 September 2023