Get-LMUptimeDevice
Syntax
Section titled “Syntax”All (Default)
Section titled “All (Default)”Get-LMUptimeDevice [-Type <String>] [-IsInternal <Boolean>] [-BatchSize <Int32>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Get-LMUptimeDevice [-Id <Int32>] [-Type <String>] [-BatchSize <Int32>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Get-LMUptimeDevice [-Name <String>] [-Type <String>] [-BatchSize <Int32>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Filter
Section titled “Filter”Get-LMUptimeDevice [-Type <String>] [-Filter <Object>] [-BatchSize <Int32>] [-ProgressAction <ActionPreference>] [<CommonParameters>]FilterWizard
Section titled “FilterWizard”Get-LMUptimeDevice [-Type <String>] [-FilterWizard] [-BatchSize <Int32>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Description
Section titled “Description”The Get-LMUptimeDevice cmdlet returns Uptime monitors (web or ping) that are backed by the LogicMonitor v3 /device/devices endpoint. It supports lookup by ID or name, optional filtering by internal/external flag, custom filters, and the interactive filter wizard. The Type parameter is optional and filters by webcheck or pingcheck uptime devices. If not specified, both types are returned.
Examples
Section titled “Examples”Example 1
Section titled “Example 1”Get-LMUptimeDeviceRetrieves all Uptime devices (both webcheck and pingcheck) across the account.
Example 2
Section titled “Example 2”Get-LMUptimeDevice -Type uptimewebcheckRetrieves all web Uptime devices across the account.
Example 3
Section titled “Example 3”Get-LMUptimeDevice -Type uptimewebcheck -IsInternal $trueRetrieves internal web Uptime devices only.
Example 4
Section titled “Example 4”Get-LMUptimeDevice -Name "web-int-01"Retrieves a specific Uptime device by name.
Example 5
Section titled “Example 5”Get-LMUptimeDevice -Id 123Retrieves a specific Uptime device by ID.
Parameters
Section titled “Parameters”Specifies the identifier of the Uptime device to retrieve.
Type: Int32Parameter Sets: IdAliases:
Required: FalsePosition: NamedDefault value: 0Accept pipeline input: FalseAccept wildcard characters: FalseSpecifies the name of the Uptime device to retrieve.
Type: StringParameter Sets: NameAliases:
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: FalseSpecifies the Uptime monitor type to retrieve. Valid values are uptimewebcheck and uptimepingcheck. If not specified, both types are returned.
Type: StringParameter Sets: (All)Aliases:
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False-IsInternal
Section titled “-IsInternal”Filters results by internal (true) or external (false) monitors.
Type: BooleanParameter Sets: AllAliases:
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False-Filter
Section titled “-Filter”Provides a filter object for advanced queries.
Type: ObjectParameter Sets: FilterAliases:
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False-FilterWizard
Section titled “-FilterWizard”Launches the interactive filter wizard and applies the chosen filter.
Type: SwitchParameterParameter Sets: FilterWizardAliases:
Required: FalsePosition: NamedDefault value: FalseAccept pipeline input: FalseAccept wildcard characters: False-BatchSize
Section titled “-BatchSize”Controls the number of results returned per request. Must be between 1 and 1000. Default 1000.
Type: Int32Parameter Sets: (All)Aliases:
Required: FalsePosition: NamedDefault value: 1000Accept pipeline input: FalseAccept wildcard characters: False-ProgressAction
Section titled “-ProgressAction”Fill ProgressAction Description
Type: ActionPreferenceParameter Sets: (All)Aliases: proga
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: FalseCommonParameters
Section titled “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
Section titled “Inputs”None. You cannot pipe objects to this cmdlet.
Section titled “None. You cannot pipe objects to this cmdlet.”Outputs
Section titled “Outputs”LogicMonitor.LMUptimeDevice
Section titled “LogicMonitor.LMUptimeDevice”You must run Connect-LMAccount before invoking this cmdlet. Responses are tagged with the LogicMonitor.LMUptimeDevice type information.