Besides a superb graphical user interface, VirtualBox has a command-line interface which can be run from a command line or terminal session. You have to navigate to the installation directory for VirtualBox. On Windows 7 it is located in
Once in the directory, you control the virtual machines by using the vboxmanage command followed by a subcommand, followed by the name of the VM that you want to work with.
List the currently configured VMs.
vboxmanage list vms
This shows that I have 5 configured VMs…. two Ubuntu servers, a Ubuntu desktop, and two RedHat virtual machines.
To find out information about a specific VM:
vboxmanage showvminfo ubServer1
Guest OS: Ubuntu
Config file: C:\Users\Larry\VirtualBox VMs\UbServer1\UbServer1.vbox
Snapshot folder: C:\Users\Larry\VirtualBox VMs\UbServer1\Snapshots
Log folder: C:\Users\Larry\VirtualBox VMs\UbServer1\Logs
Hardware UUID: 86742a7d-1188-4b48-b09a-4a0139d14930
Memory size: 2048MB
Page Fusion: off
VRAM size: 12MB
CPU exec cap: 100%
Number of CPUs: 1
Long Mode: off
Synthetic CPU: off
CPUID overrides: None
Boot menu mode: message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
This is the beginning of the listing, which runs about five screens. It includes all of the information shown in the GUI Settings pane, as well as additional information.
vboxmanage startvm RHDesktop
Waiting for VM “RHDesktop” to power on…
VM “RHDesktop” has been successfully started.
This starts a named virtual machine.
The counterpart for stopping is:
vboxmanage controlvm RHDesktop poweroff
Full manual is here