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>] [-BatchSize <Int32>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Get-LMUptimeDevice [-Name <String>] [-BatchSize <Int32>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Filter
Section titled “Filter”Get-LMUptimeDevice [-Filter <Object>] [-BatchSize <Int32>] [-ProgressAction <ActionPreference>] [<CommonParameters>]FilterWizard
Section titled “FilterWizard”Get-LMUptimeDevice [-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 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
Section titled “Examples”Example 1
Section titled “Example 1”Get-LMUptimeDeviceRetrieves all Uptime devices across the account.
Example 2
Section titled “Example 2”Get-LMUptimeDevice -Type webcheck -IsInternal $trueRetrieves internal web Uptime devices only.
Example 3
Section titled “Example 3”Get-LMUptimeDevice -Name "web-int-01"Retrieves a specific Uptime device by name.
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: FalseFilters 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
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. 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
Section titled “-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
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”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.