Get-LMUsageMetric
Syntax
Section titled “Syntax”All (Default)
Section titled “All (Default)”Get-LMUsageMetric [<CommonParameters>]Description
Section titled “Description”The Get-LMUsageMetric cmdlet calls the /metrics/usage endpoint and returns the usage payload
for your LogicMonitor portal (for example device counts and related usage figures).
You must
call Connect-LMAccount before using this cmdlet.
Examples
Section titled “Examples”EXAMPLE 1
Section titled “EXAMPLE 1”Get-LMUsageMetric
Retrieves current usage metrics for the connected portal.Parameters
Section titled “Parameters”CommonParameters
Section titled “CommonParameters”This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.