Below are the steps to remove a virtual machine from the command line:
- Remove the disk from the VM:
VBoxManage modifyvm xfce-test -hda none - Unregister the VM:
VBoxManage unregistervm xfce-test - Unregister the disk (vdi):
VBoxManage unregisterimage disk /path/to/vdi
One thought on “Removing a Virtual Machine from VirtualBox”