Skip to content

Get-LMUptimeDevice

Terminal window
Get-LMUptimeDevice [-Type <String>] [-IsInternal <Boolean>] [-BatchSize <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Terminal window
Get-LMUptimeDevice [-Id <Int32>] [-Type <String>] [-BatchSize <Int32>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Terminal window
Get-LMUptimeDevice [-Name <String>] [-Type <String>] [-BatchSize <Int32>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Terminal window
Get-LMUptimeDevice [-Type <String>] [-Filter <Object>] [-BatchSize <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Terminal window
Get-LMUptimeDevice [-Type <String>] [-FilterWizard] [-BatchSize <Int32>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]

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.

Terminal window
Get-LMUptimeDevice

Retrieves all Uptime devices (both webcheck and pingcheck) across the account.

Terminal window
Get-LMUptimeDevice -Type uptimewebcheck

Retrieves all web Uptime devices across the account.

Terminal window
Get-LMUptimeDevice -Type uptimewebcheck -IsInternal $true

Retrieves internal web Uptime devices only.

Terminal window
Get-LMUptimeDevice -Name "web-int-01"

Retrieves a specific Uptime device by name.

Terminal window
Get-LMUptimeDevice -Id 123

Retrieves a specific Uptime device by ID.

Specifies the identifier of the Uptime device to retrieve.

Type: Int32
Parameter Sets: Id
Aliases:
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

Specifies the name of the Uptime device to retrieve.

Type: String
Parameter Sets: Name
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Specifies the Uptime monitor type to retrieve. Valid values are uptimewebcheck and uptimepingcheck. If not specified, both types are returned.

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

Filters results by internal (true) or external (false) monitors.

Type: Boolean
Parameter Sets: All
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Provides a filter object for advanced queries.

Type: Object
Parameter Sets: Filter
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Launches the interactive filter wizard and applies the chosen filter.

Type: SwitchParameter
Parameter Sets: FilterWizard
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

Controls the number of results returned per request. Must be between 1 and 1000. Default 1000.

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

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

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

None. You cannot pipe objects to this cmdlet.

Section titled “None. You cannot pipe objects to this cmdlet.”

You must run Connect-LMAccount before invoking this cmdlet. Responses are tagged with the LogicMonitor.LMUptimeDevice type information.

New-LMUptimeDevice

Set-LMUptimeDevice

Remove-LMUptimeDevice