Skip to content

Get-LMUnmonitoredDevice

Syntax

Terminal window
Get-LMUnmonitoredDevice [[-Filter] <Object>] [[-BatchSize] <Int32>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]

Description

The Get-LMUnmonitoredDevice function retrieves information about devices that are discovered but not currently being monitored in LogicMonitor.

Examples

Example 1

Terminal window
#Retrieve all unmonitored devices
Get-LMUnmonitoredDevice

Example 2

Terminal window
#Retrieve unmonitored devices using a filter
Get-LMUnmonitoredDevice -Filter $filterObject

Parameters

-Filter

A filter object to apply when retrieving unmonitored devices.

Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-BatchSize

The number of results to return per request. Must be between 1 and 1000. Defaults to 1000.

Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: 1000
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

Fill ProgressAction Description

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None. You cannot pipe objects to this command.

Outputs

Returns LogicMonitor.UnmonitoredDevice objects.

Notes

You must run Connect-LMAccount before running this command.