Created
November 30, 2017 23:52
-
-
Save m-gagne/2067d70d5a1011ec771682173ec52517 to your computer and use it in GitHub Desktop.
Azure CLI to find all VM SKUs in all locations (from your subscription)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
az account list-locations --output tsv | awk -F '\t' '{print $1 ; system("az vm list-sizes --output table --location " $5);}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment