“What is the command for changing the name of the conference room in PowerShell?”
Good question, and as it turns out the answer is a simple one though probably a little more complicated than you would first expect.
Let’s say I want to rename a room mailbox called “BR Meeting Room 1” to “Sunset Room” instead.
First, using Set-Mailbox I need to change the Name, Alias, DisplayName, SamAccountName, and UserPrincipalName.
[PS] C:>Set-Mailbox "BR Meeting Room 1" -Name "Sunset Room" -Alias "sunsetroom" -DisplayName "Sunset Room" -SamAccountName sunsetroom -UserPrincipalName firstname.lastname@example.org
That just leaves the FirstName attribute still set to the original name the room mailbox was given. To update that I use Set-User.
Set-User "Sunset Room" -FirstName "Sunset Room"
The change should be visible almost immediately if you’re viewing the global address list in OWA, or viewing the “All Rooms” address list in Outlook. However if you have cached mode Outlook users and an offline address book they will not see the change for 24-48 hours.