Skip to content

Get-LMAccountStatus

Terminal window
Get-LMAccountStatus [<CommonParameters>]

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

Terminal window
#Get the current account status
Get-LMAccountStatus

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 command.

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

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

Section titled “Returns a PSCustomObject with the following properties: Portal, Valid, Logging, and Type”

You must run Connect-LMAccount before running this command.