Get-​Aadrm​Usage​Log​Storage​Account

Gets the location for usage logs.

Syntax

Get-AadrmUsageLogStorageAccount []

Description

The Get-AadrmUsageLogStorageAccount cmdlet gets the Azure storage location for usage logs for Azure Rights Management.

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 the Get-AadrmUserLog cmdlet.

For more information about usage logging, see Logging and analyzing usage of the Azure Rights Management service.

Examples

Example 1: Get the log location

PS C:\>Get-AadrmUsageLogStorageAccount

This command gets the location for your usage logs.