Created
August 26, 2021 21:48
-
-
Save alexweininger/6a616284c2971f77d3ef82793bbc97ce to your computer and use it in GitHub Desktop.
Delete RGs with tag
This file contains hidden or 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 group list --tag delete --query [].name -o tsv | xargs -otl az group delete --no-wait [-y ignores prompt] -n ${rg} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment