Get-AadrmUsageLogLastCounterValue
Gets the last counter value for the usage log.
Syntax
Get-AadrmUsageLogLastCounterValue []
Description
The Get-AadrmUsageLogLastCounterValue cmdlet gets the last counter value for the usage log.
You must use PowerShell to get this information; you cannot do this action by using a management portal.
This cmdlet should be used only if you have usage logs prior to the usage logging change in February 2016. After this date, the only Windows PowerShell cmdlet that you need for Azure RMS usage logging is Get-AadrmUserLog.
For more information about usage logging, see Logging and analyzing usage of the Azure Rights Management service.
Examples
Example 1: Get the last counter value
PS C:\>Get-AadrmUsageLogLastCounterValue
This command gets the last counter value for the usage log for your organization.