====== How to convert VMDK to VDI/VHD ======
VBoxManage clonemedium disk aaaa.vmdk aaaa.vdi --format VDI
====== Move Virtual Machine ======
vboxmanage movevm "debian" --folder /home/...
====== How to change VirtualBox default VM location in command line ======
vboxmanage setproperty machinefolder /path/to/directory/
====== Removing a Guest VM from the command line ======
VBoxManage unregistervm | [--delete]
====== How to change VirtualBox default VM location in command line ======
vboxmanage setproperty machinefolder /path/to/directory/
====== Virtualbox Add 2 Network Cards ======
VBoxManage modifyvm MachineName --nic2 bridged --bridgeadapter2 enp1s0
VBoxManage modifyvm MachineName --nic1 bridged --bridgeadapter1 ens4f0
====== Enable/Disable EFI BIOS ======
use the VBoxManage command line interface as follows:
VBoxManage modifyvm "VM name" --firmware efi
To switch back to using the BIOS:
VBoxManage modifyvm "VM name" --firmware bios