For system, network and cloud administrators
In order to view a particular list of storage accounts that start with mystorage, for example, type:
az storage account list --query "[?starts_with(name,'mystorage')]".name --output tsv
The tsv output parameter can easily be replaced with table.
In order do delete a managed disk in Azure and without the need for the command execution confirmation (because of the –yes) parameter, type:
az disk delete --resource-group yourresourcegroup --name yourdiskname --yes