CLI VirtualBox management

List virtual machines

|Vboxmanage
vboxmanage list vms

Avaliable commands

Start a virtual machine in headless mode (that's why you are typing theese commands)

|Vboxmanage
vboxmanage startvm "VM name" --type headless

Avaliable types

Change state of the running virtual machine

|Vboxmanage
vboxmanage controlvm "VM Name" savestate

Avaliable commands

Start a program in Windows guest from Linux host

VBoxManage --nologo guestcontrol "VM Name" run --exe "C:\\windows\\notepad.exe" --username jdoe --password Pa$$w0rd --wait-stdout