Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- rg=$(az group list --query "[].name" --output tsv)
- IFS=' '
- while read -r line ; do az group delete --name $line --yes --no-wait; done <<< $rg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement