Skip to content

Instantly share code, notes, and snippets.

@kid-icarus
Last active August 29, 2015 13:56
Show Gist options
  • Save kid-icarus/9055775 to your computer and use it in GitHub Desktop.
Save kid-icarus/9055775 to your computer and use it in GitHub Desktop.
function voff() {
DATVM=`VBoxManage list runningvms | awk '{gsub(/"/, "", $1); print $1}'`
VBoxManage controlvm $DATVM poweroff
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment