Skip to content

Get-LMAccountStatus

Syntax

Terminal window
Get-LMAccountStatus [<CommonParameters>]

Description

The Get-LMAccountStatus function retrieves the current connection status of the LogicMonitor account, including portal information, authentication validity, logging status, and authentication type.

Examples

Example 1

Terminal window
#Get the current account status
Get-LMAccountStatus

Parameters

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

None. You cannot pipe objects to this command.

Outputs

Returns a PSCustomObject with the following properties: Portal, Valid, Logging, and Type

Notes

You must run Connect-LMAccount before running this command.