Information
List available virtual machines:
vboxmanage list vmsList running virtual machines:
vboxmanage list runningvmsShow information about a virtual machine:
vboxmanage showvminfo <vmname|uuid>
Control VMs
Start virtual machine:
vboxmanage startvm <vmname|uuid>Start virtual machine in headless mode:
vboxmanage startvm <vmname|uuid> --type headlessor:
vboxheadless --startvm <vmname|uuid>Start virtual machine in headless mode with VRDP enabled:
vboxmanage controlvm <vmname|uuid> --vrde onor:
vboxheadless --startvm <vmname|uuid> --vrde onConnect to virtual machine’s VRDP:
rdesktop-vrdp localhostGracefully shutdown virtual machine:
vboxmanage controlvm <vmname|uuid> acpipowerbuttonPower-off virtual machine:
vboxmanage controlvm <vmname|uuid> poweroffReset virtual machine:
vboxmanage controlvm <vmname|uuid> resetPause virtual machine:
vboxmanage controlvm <vmname|uuid> pauseResume paused virtual machine:
vboxmanage controlvm <vmname|uuid> resumeSave and stop virtual machine:
vboxmanage controlvm <vmname|uuid> savestateDiscard saved state of virtual machine:
vboxmanage discardstate <vmname|uuid>
Configure VMs
Limit RAM to 256MB:
vboxmanage modifyvm <vmname|uuid> --memory 256Set number of virtual CPUs:
vboxmanage modifyvm <vmname|uuid> --cpus 2Cap CPU usage to 50%:
vboxmanage modifyvm <vmname|uuid> --cpuexecutioncap 50Offset BIOS time one year in the future:
vboxmanage modifyvm <vmname|uuid> --biossystemtimeoffset +31536000000
Snapshots
Create snapshot of virtual machine:
vboxmanage snapshot <vmname|uuid> take <snapname>List snapshots for virtual machine:
vboxmanage snapshot <vmname|uuid> listRestore virtual machine to the current snapshot:
vboxmanage snapshot <vmname|uuid> restorecurrentRestore virtual machine to a snapshot:
vboxmanage snapshot <vmname|uuid> restore <snapname>Delete specific snapshot:
vboxmanage snapshot <vmname|uuid> delete <snapname>