Last active
November 24, 2023 09:25
-
-
Save garrytrinder/00e0767f0a77bfe9b664b444ea97769b to your computer and use it in GitHub Desktop.
Remove all Azure Resource Groups
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
# assumes you are logged into azure subscription using Azure CLI (https://aka.ms/azcli) | |
az group list --query "[].name" -o tsv | ForEach-Object { az group delete --name $_ --yes --no-wait } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment