Get-LMUptimeDevice
Syntax
All (Default)
Get-LMUptimeDevice [-Type <String>] [-IsInternal <Boolean>] [-BatchSize <Int32>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Id
Get-LMUptimeDevice [-Id <Int32>] [-BatchSize <Int32>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Name
Get-LMUptimeDevice [-Name <String>] [-BatchSize <Int32>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Filter
Get-LMUptimeDevice [-Filter <Object>] [-BatchSize <Int32>] [-ProgressAction <ActionPreference>] [<CommonParameters>]FilterWizard
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
Get-LMUptimeDeviceRetrieves all Uptime devices across the account.
Example 2
Get-LMUptimeDevice -Type webcheck -IsInternal $trueRetrieves internal web Uptime devices only.
Example 3
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: Int32Parameter Sets: IdAliases:
Required: FalsePosition: NamedDefault value: 0Accept pipeline input: FalseAccept wildcard characters: False-Name
Specifies the name of the Uptime device to retrieve.
Type: StringParameter Sets: NameAliases:
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False-Type
Filters results by Uptime monitor type. Valid values are webcheck and pingcheck.
Type: StringParameter Sets: AllAliases:
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False-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
Provides a filter object for advanced queries. The Uptime model constraint is applied automatically in addition to the supplied criteria.
Type: ObjectParameter Sets: FilterAliases:
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False-FilterWizard
Launches the interactive filter wizard and applies the chosen filter along with the Uptime model constraint.
Type: SwitchParameterParameter Sets: FilterWizardAliases:
Required: FalsePosition: NamedDefault value: FalseAccept pipeline input: FalseAccept wildcard characters: False-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
Fill ProgressAction Description
Type: ActionPreferenceParameter Sets: (All)Aliases: proga
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: FalseCommonParameters
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.