For system, network and cloud administrators

How to list all Azure managed disks using Azure CLI

In order to view all managed disks in Azure, type:

az disk list --output tsv

If you need to see the managed disks of a particular resource group, type:

az disk list --resource-group yourresourcegroup --output tsv

The tsv output parameter can easily be replaced with table.

Leave a Reply

Your email address will not be published.