--- title: "Get-NectarRoom" slug: "get-nectarroom" updated: 2023-08-18T16:18:54Z published: 2023-08-18T16:18:54Z canonical: "support.nectarcorp.com/get-nectarroom" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.nectarcorp.com/llms.txt > Use this file to discover all available pages before exploring further. # Get-NectarRoom Return a list of Nectar monitored rooms ## Syntax ``` Get-NectarRoom -SearchQuery -OrderByField -OrderDirection -TenantName -PageSize ``` ## Examples ### Example 1 ``` Get-NectarRoom ``` Returns a list of all rooms ### Example 2 ``` Get-NectarRoom -OrderByField HealthStatus -OrderDirection Descending ``` Returns a list of rooms sorted by Health Status ## Parameters **-SearchQuery ** Limit the results to the specified search query. Will match against all fields. | Parameter | Value | | --- | --- | | Required | false | | Position | 1 | | Required | false | | Default Value | None | | Accept pipeline input? | false | | Accept wildcard characters? | false | **-OrderByField ** Order the resultset by the specified field. Choose from id, type, lastTime, displayName, deviceName, description, eventId, time, delay, source, location, sourceId | Parameter | Value | | --- | --- | | Required | false | | Position | 2 | | Required | false | | Default Value | None | | Accept pipeline input? | false | | Accept wildcard characters? | false | **-OrderDirection ** Sort order. Pick from ASC or DESC | Parameter | Value | | --- | --- | | Required | false | | Position | 3 | | Required | false | | Default Value | None | | Accept pipeline input? | false | | Accept wildcard characters? | false | **-TenantName ** The name of the Nectar DXP tenant. Used in multi-tenant configurations. | Parameter | Value | | --- | --- | | Required | false | | Position | 4 | | Required | false | | Default Value | None | | Accept pipeline input? | true (ByPropertyName) | | Accept wildcard characters? | false | **-PageSize ** The size of the page used to return data. Defaults to 1000 | Parameter | Value | | --- | --- | | Required | false | | Position | 5 | | Required | false | | Default Value | 1000 | | Accept pipeline input? | false | | Accept wildcard characters? | false |