The showvminfo command shows
information about a particular virtual machine. This is the same
information as VBoxManage list vms --long
would show for all virtual machines.
You will get information that resembles the following example.
$ VBoxManage showvminfo "Windows XP"
VirtualBox Command Line Management Interface Version 5.2.4
(C) 2005-2017 Oracle Corporation
All rights reserved.
Name: Windows XP
Guest OS: Other/Unknown
UUID: 1bf3464d-57c6-4d49-92a9-a5cc3816b7e7
Config file: /home/username/.config/VirtualBox/Machines/Windows XP/Windows XP.xml
Memory size: 512MB
VRAM size: 12MB
Number of CPUs: 2
Boot menu mode: message and menu
Boot Device (1): DVD
Boot Device (2): HardDisk
Boot Device (3): Not Assigned
Boot Device (4): Not Assigned
ACPI: on
IOAPIC: on
...
Use the --machinereadable option
to produce the same output, but in machine readable format: property="value" on a
line by line basis, e.g.:
name="VBoxSDL --startvm OL7.2"
groups="/"
ostype="Oracle (64-bit)"
UUID="457af700-bc0a-4258-aa3c-13b03da171f2"
...