Get-LMAccountStatus
Syntax
Section titled “Syntax”Get-LMAccountStatus [<CommonParameters>]Description
Section titled “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
Section titled “Examples”Example 1
Section titled “Example 1”#Get the current account statusGet-LMAccountStatusParameters
Section titled “Parameters”CommonParameters
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”None. You cannot pipe objects to this command.
Section titled “None. You cannot pipe objects to this command.”Outputs
Section titled “Outputs”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.