Get-LMUnmonitoredDevice
Syntax
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
#Retrieve all unmonitored devicesGet-LMUnmonitoredDevice
Example 2
#Retrieve unmonitored devices using a filterGet-LMUnmonitoredDevice -Filter $filterObject
Parameters
-Filter
A filter object to apply when retrieving unmonitored devices.
Type: ObjectParameter Sets: (All)Aliases:
Required: FalsePosition: 1Default value: NoneAccept pipeline input: FalseAccept wildcard characters: False
-BatchSize
The number of results to return per request. Must be between 1 and 1000. Defaults to 1000.
Type: Int32Parameter Sets: (All)Aliases:
Required: FalsePosition: 2Default value: 1000Accept pipeline input: FalseAccept wildcard characters: False
-ProgressAction
Fill ProgressAction Description
Type: ActionPreferenceParameter Sets: (All)Aliases: proga
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept 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.