LinuxCommandLibrary

vboxmanage-unregistervm

Unregister a virtual machine (VM).

TLDR

Unregister an existing VM

$ VBoxManage unregistervm [uuid|vm_name]
copy


Delete hard disk image files, all saved state files, VM logs, and XML VM machine files
$ VBoxManage unregistervm [uuid|vm_name] --delete
copy


Delete all files from the VM
$ VBoxManage unregistervm [uuid|vm_name] --delete-all
copy

Copied to clipboard