How can I check how much space I used in each of my azure storage accounts in my subscription resource group wise.
I am not able to find a way to check space used in azure storage account through PowerShell, CLI, portal...
Sign-in to azure storage explorer using any of the approach mentioned here - https://docs.microsoft.com/en-us/azure/vs-azure-tools-storage-manage-with-storage-explorer?tabs=wind... Select the storage of your interest. Select the Table. Click “Table Statistics”.
The List Storage Accounts operation lists the storage accounts that are available in the specified subscription. Show activity on this post. another option for getting a list of all storage accounts under the subscription is to use the REST API, see Storage Accounts - List. Note, that the Bearer token is required.
PowerShell Script Save the file as script. ps1. Write-Host -ForegroundColor Green "Retrieving the storage accounts..." Write-Host -ForegroundColor Green "Retrieving the storage accounts from specific resource group..."
Azure Storage size consist of all of 4 services (Blob, Queue,File, Table) altogether. Based on my knowledge, there are no ways to calculate the total size of all services for now.
However, you could get blob space used on Portal by using Azure metrics. Please select Monitor-->Metrics
More information about monitor a storage account in the Azure portal please refer to this link.
Also, you could use PowerShell to get your blob usage. There is a good script you could use.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With