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-NectarDevice

Prev Next

Return a list of Nectar monitored devices

Syntax

Get-NectarDevice
  -SearchQuery  <String>
  -OrderByField  <String>
  -OrderDirection  <String>
  -TenantName  <String>
  -PageSize  <Int32>

Examples

Example 1

Get-NectarDevice

Returns a list of all devices

Example 2

Get-NectarDevice -SearchQuery Dallas

Returns a list of devices that has 'Dallas' in any field

Example 3

Get-NectarDevice -OrderByField HealthStatus -OrderDirection Descending

Returns a list of devices sorted by Health Status

Parameters

-SearchQuery <String>
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 <String>
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 <String>
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 <String>
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 <Int32>
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