question

MichelPoleur-5787 avatar image
0 Votes"
MichelPoleur-5787 asked YukiSun-MSFT commented

Set-Place - reset floor value

Hello,

Using Powershell, I'm trying to remove/reset/delete/nullify the value of the Floor attribute for a room in Exchange Online, but I can't find a way to do it.

(Get-Place -Identity "MyRoom").Floor
Set-Place -identity "MyRoom" -Floor 5
(Get-Place -Identity "MyRoom").Floor

5

Set-Place -identity "MyRoom" -Floor $null
(Get-Place -Identity "MyRoom").Floor

5

Set-Place -identity "MyRoom" -Floor ""
(Get-Place -Identity "MyRoom").Floor

0

And the WebUI doesn't provide a way to edit this attribute.

Any help appreciated. Thank you.
Michel

office-exchange-online-itpro
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @MichelPoleur-5787,

Just checking in to see how things are going on with this thread. Is there anything you would like to update?


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 Votes 0 ·
EricYin-MSFT avatar image
0 Votes"
EricYin-MSFT answered

Hi,
The correct command is:

 Set-Place -Identity "Room 02"  -Floor 5

What do you get from it?


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

BrianReidOffice365MVP-6553 avatar image
0 Votes"
BrianReidOffice365MVP-6553 answered BrianReidOffice365MVP-6553 edited

Thats the correct cmdlet to SET the floor, but it does not work to UNSET the floor like the OP asked. If I try to unset the floor with Set-Place -Identity "Room 02" -Floor "" then the floor is set to 0, which is not the same thing. 0 = Ground Floor in the country I am from and 0 is not equal to a blank string or Null. It would be good if the Set-Place attributes like this can be unset.

Ta

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.