Skip to content

Instantly share code, notes, and snippets.

@gobinathm
Created February 27, 2018 03:53
Show Gist options
  • Save gobinathm/2f2a679ad9745f12a895c00a831e3d8c to your computer and use it in GitHub Desktop.
Save gobinathm/2f2a679ad9745f12a895c00a831e3d8c to your computer and use it in GitHub Desktop.
Destroy all Running Vagrant Virtual Machines
# In case you want to indiscriminately destroy all of the running Vagrant VMs on your machine, you can run the following:
for i in `vagrant global-status | grep virtualbox | awk '{ print $1 }'` ; do vagrant destroy $i ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment