virtualbox命令行

本文为大家介绍几个比较常用的简单的virtualbox命令行。

VBoxManage --version 或者 VBoxManage -v 显示VirtualBox的版本信息
VBoxManage showvminfo "Windows XP"  查看某一虚拟机的信息 
VBoxManage startvm ubuntu gui 图形化界面启动(这是默认值)
VBoxManage startvm "Windows XP" 开启虚拟机(指定name)
VBoxManage startvm 670e746d-abea-4ba6-ad02-2a3b043810a5 开启虚拟机(指定UUID)
VBoxManage startvm ubuntu headless 命令行界面启动
VBoxManage list 查看list命名的帮助信息(vmrun list)
VBoxManage list runningvms 列出现在正在运行的虚拟机
VBoxManage list vms 列出所有注册在VirtualBox中的虚拟机(显示形式:name + UUID)
VBoxManage list vms --long 
VBoxManage list vms -l 列出所有注册在VirtualBox中的虚拟机(长格式。等价于VBoxManage showvminfo命令)
VBoxManage list ostypes 列出VirtualBox支持的虚拟机的操作系统类型
VBoxManage list hostinfo 列出宿主机的详细信息(CPU 内存 操作系统版本等)
VBoxManage list hostdvds 列出宿主机的dvd光盘的信息
VBoxManage list hostfloppies 列出宿主机的软盘信息
VBoxManage list intnets
VBoxManage list bridgedifs 列出系统的桥接网络的信息
VBoxManage list hostonlyifs 列出系统的hostonly网络的信息
VBoxManage list natnets 列出系统的NAT网络的信息
VBoxManage list dhcpservers DBCP服务器的信息
VBoxManage list hddbackends 列出VirtualBox支持的硬盘类型
VBoxManage list hdds 列出已经注册的虚拟硬盘
VBoxManage list dvds 列出已经注册的虚拟光盘
VBoxManage list usbhost 显示宿主机的USB设备信息
VirtualBox list usbfilters USB筛选器
VBoxManage list systemproperties 虚拟机的基本信息
VBoxManage list screenshotformats VirtualBox所支持的快照格式

你可能感兴趣的:(工具)