Skip to content

Instantly share code, notes, and snippets.

@atulkamble
Last active January 9, 2026 15:12
Show Gist options
  • Select an option

  • Save atulkamble/788ecbbcfd928a62e6383b83b30eccf0 to your computer and use it in GitHub Desktop.

Select an option

Save atulkamble/788ecbbcfd928a62e6383b83b30eccf0 to your computer and use it in GitHub Desktop.

Revisions

  1. atulkamble renamed this gist Jan 9, 2026. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. atulkamble renamed this gist Oct 26, 2025. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. atulkamble created this gist Oct 26, 2025.
    4 changes: 4 additions & 0 deletions script.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    for rg in $(az group list --query "[].name" -o tsv); do
    echo "Deleting Resource Group: $rg"
    az group delete --name $rg --yes --no-wait
    done