Created
September 7, 2021 04:55
-
-
Save IAmStoxe/7a398f8e8e4adcc62d95bc1e98daa249 to your computer and use it in GitHub Desktop.
Delete Azure resource groups asynchronously in bulk
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 group list | convertfrom-json | select -expand name | ?{$_ -like "*-rg-*"}| %{az group delete --name=$_ -y & } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment