2025-03-14 21:59:59 -06:00
|
|
|
# VBoxManage
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
> Interface with VirtualBox.
|
2025-03-14 21:59:59 -06:00
|
|
|
> Includes all the functionality of the GUI and more.
|
|
|
|
|
> Some subcommands such as `startvm` have their own usage documentation.
|
|
|
|
|
> More information: <https://www.virtualbox.org/manual/ch08.html#vboxmanage-intro>.
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- List all VirtualBox virtual machines:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`VBoxManage list vms`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Show information about a particular virtual machine:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`VBoxManage showvminfo {{name|uuid}}`
|
|
|
|
|
|
|
|
|
|
- Start a virtual machine:
|
|
|
|
|
|
|
|
|
|
`VBoxManage startvm {{name|uuid}}`
|
|
|
|
|
|
|
|
|
|
- Start a virtual machine in headless mode:
|
|
|
|
|
|
|
|
|
|
`VBoxManage startvm {{name|uuid}} --type headless`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Shutdown the virtual machine and save its current state:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`VBoxManage controlvm {{name|uuid}} savestate`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Shutdown down the virtual machine without saving its state:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`VBoxManage controlvm {{name|uuid}} poweroff`
|
|
|
|
|
|
|
|
|
|
- Update VBox extension packs:
|
|
|
|
|
|
|
|
|
|
`VBoxManage extpack install --replace {{VboxExtensionPackFileName}}`
|
|
|
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
|
|
`VBoxManage --help`
|