Created
November 3, 2017 10:56
-
-
Save pmarques/8d1e5c9106fb32d5161afc117487bac9 to your computer and use it in GitHub Desktop.
Useful AZ CLI snippets
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
R_GROUP=a | |
# Delete all VMs in a group | |
az vm list --resource-group "${R_GROUP}" | jq '.[] .id' | xargs az vm delete --yes --ids |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment