Skip to content

Instantly share code, notes, and snippets.

@jwadolowski
Created November 12, 2015 18:00
Show Gist options
  • Save jwadolowski/54c77ae993c3a6046b8e to your computer and use it in GitHub Desktop.
Save jwadolowski/54c77ae993c3a6046b8e to your computer and use it in GitHub Desktop.
Delete all VirtualBox machines
for vm in $(VBoxManage list vms | sed -r 's/.*\{(.*)\}/\1/'); do VBoxManage unregistervm $vm --delete; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment