Skip to content

Get-LMUptimeDevice

Syntax

All (Default)

Terminal window
Get-LMUptimeDevice [-Type <String>] [-IsInternal <Boolean>] [-BatchSize <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]

Id

Terminal window
Get-LMUptimeDevice [-Id <Int32>] [-BatchSize <Int32>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Name

Terminal window
Get-LMUptimeDevice [-Name <String>] [-BatchSize <Int32>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]

Filter

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

FilterWizard

Terminal window
Get-LMUptimeDevice [-FilterWizard] [-BatchSize <Int32>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]

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 type or internal/external flag, custom filters, and the interactive filter wizard. All requests automatically enforce the Uptime model so only websiteDevice resources are returned.

Examples

Example 1

Terminal window
Get-LMUptimeDevice

Retrieves all Uptime devices across the account.

Example 2

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

Retrieves internal web Uptime devices only.

Example 3

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

Retrieves a specific Uptime device by name.

Parameters

-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

-Name

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

-Type

Filters results by Uptime monitor type. Valid values are webcheck and pingcheck.

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

-IsInternal

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

-Filter

Provides a filter object for advanced queries. The Uptime model constraint is applied automatically in addition to the supplied criteria.

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

-FilterWizard

Launches the interactive filter wizard and applies the chosen filter along with the Uptime model constraint.

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

-BatchSize

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

-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

Outputs

LogicMonitor.LMUptimeDevice

Notes

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