Skip to content

Get-LMUsageMetric

Terminal window
Get-LMUsageMetric [<CommonParameters>]

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.

Terminal window
Get-LMUsageMetric
Retrieves current usage metrics for the connected portal.

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.