Get-​Aadrm​Usage​Log​Feature

Gets the status of usage logging for Rights Management.

Syntax

Get-AadrmUsageLogFeature []

Description

The Get-AadrmUsageLogFeature cmdlet gets the status of usage logging for Azure Rights Management.

You must use PowerShell to get this information; you cannot do this action by using a management portal.

Note: This cmdlet always returns False after the usage logging change in February 2016. After this date, usage logging is enabled automatically and 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 usage log feature

PS C:\>Get-AadrmUsageLogFeature
True

This command gets whether the usage log feature is enabled.