Q. Can I extract usage information from Azure subscriptions using PowerShell?
A. The Azure module contains a number of cmdlets to fetch usage data, specifically Get-UsageAggregates and Get-UsageMetrics. Below is an example of fetching the usage data. Change the dates and subscription ID.