前言
要如何透過 Exchange Web Service (EWS) 來取得所有的 會議室(Room) 呢?
EWS 可取得 RoomList ,可以取得會議室群組,
但是各別的 會議室 要怎麼取得呢?
Exchange Shell 可以透過 filter 來取得,如下,Get-Mailbox -Filter "RecipientTypeDetails -eq 'RoomMailbox'"
或是Get-Mailbox | Where {$_.ResourceType -eq "Room"}