vboxoptions
TRANSCRIPT
-
8/7/2019 vboxOptions
1/7
VBoxManage convertfromraw d:\xp_pack2_Test.vhd c:\xp2.vdiVBoxManage clonehd d:\xp_pack2_Test.vhd c:\xp2.vdi --format VDIVBoxManage modifyvm c:\xp2.vdi --hardwareuuid 'new guid'VBoxManage modifyhd c:\xp2.vdi --compact
Oracle VM VirtualBox Command Line Management Interface Version 3.2.10(C) 2005-2010 Oracle CorporationAll rights reserved.
Usage:
VBoxManage [-v|--version] print version number and exitVBoxManage [-q|--nologo] ... suppress the logo
VBoxManage list [--long|-l] vms|runningvms|ostypes|hostdvds|hostfloppies|bridgedifs|hostonlyifs|dhcpservers|hostinfo|hostcpuids|hddbackends|hdds|dvds|floppies|usbhost|usbfilters|systemproperties
VBoxManage showvminfo | [--details] [--statistics]
[--machinereadable]VBoxManage showvminfo | --log
VBoxManage registervm
VBoxManage unregistervm | [--delete]
VBoxManage createvm --name [--ostype ][--register][--basefolder | --settingsfile ][--uuid ]
VBoxManage modifyvm [--name ][--ostype ][--memory ][--pagefusion on|off][--vram ][--acpi on|off][--ioapic on|off][--pae on|off][--hpet on|off][--hwvirtex on|off][--hwvirtexexcl on|off][--nestedpaging on|off]
[--largepages on|off][--vtxvpid on|off][--synthcpu on|off][--cpuidset ][--cpuidremove ][--cpuidremoveall][--hardwareuuid ][--cpus ][--cpuhotplug on|off][--plugcpu ]
-
8/7/2019 vboxOptions
2/7
[--unplugcpu ][--rtcuseutc on|off][--monitorcount ][--accelerate3d on|off][--accelerate2dvideo on|off][--firmware bios|efi|efi32|efi64][--bioslogofadein on|off][--bioslogofadeout on|off][--bioslogodisplaytime ][--bioslogoimagepath ][--biosbootmenu disabled|menuonly|messageandmenu][--biossystemtimeoffset ][--biospxedebug on|off][--boot none|floppy|dvd|disk|net>][--nic none|null|nat|bridged|intnet|hostonly][--nictype Am79C970A|Am79C973|
82540EM|82543GC|82545EM|virtio]
[--cableconnected on|off][--nictrace on|off][--nictracefile ][--nicspeed ][--nicbootprio ][--bridgeadapter none|]
[--hostonlyadapter none|][--intnet ][--natnet |default][--natsettings [],[],
[],[],[]]
[--natpf [],tcp|udp,[],,[],]
[--natpf delete ][--nattftpprefix ][--nattftpfile ][--nattftpserver ][--natdnspassdomain on|off]
[--natdnsproxy on|off][--natdnshostresolver on|off][--nataliasmode default|[log],[proxyonly],
[sameports]][--macaddress auto|][--mouse ps2|usb|usbtablet[--keyboard ps2|usb[--uart off| ][--uartmode disconnected|
server |client |file |]
[--guestmemoryballoon ][--gueststatisticsinterval ][--audio none|null|dsound][--audiocontroller ac97|sb16][--clipboard disabled|hosttoguest|guesttohost|
bidirectional][--vrdp on|off][--vrdpport default|][--vrdpaddress ][--vrdpauthtype null|external|guest]
-
8/7/2019 vboxOptions
3/7
[--vrdpmulticon on|off][--vrdpreusecon on|off][--vrdpvideochannel on|off][--vrdpvideochannelquality ][--usb on|off][--usbehci on|off][--snapshotfolder default|][--teleporter on|off][--teleporterport ][--teleporteraddress [--teleporterpassword ]
VBoxManage import [--dry-run|-n] [more options](run with -n to have options displayedfor a particular OVF)
VBoxManage export --output|-o [--legacy09][--vsys ]
[--product ][--producturl ][--vendor ][--vendorurl ][--version ]
[--eula ][--eulafile ]
VBoxManage startvm |[--type gui|sdl|vrdp|headless]
VBoxManage controlvm |pause|resume|reset|poweroff|savestate|acpipowerbutton|acpisleepbutton|keyboardputscancode [ ...]|injectnmi|setlinkstate on|off |nic null|nat|bridged|intnet|hostonly
[] |nictrace on|offnictracefile guestmemoryballoon ]gueststatisticsinterval ]usbattach | |usbdetach | |vrdp on|off |vrdpport default| |vrdpvideochannelquality setvideomodehint [display] |setcredentials
[--allowlocallogon ] |
teleport --host --port [--maxdowntime ] [--password password]
plugcpu unplugcpu
VBoxManage discardstate |
VBoxManage adoptstate |
VBoxManage snapshot |
-
8/7/2019 vboxOptions
4/7
take [--description ] [--pause] |delete | |restore | |restorecurrent |edit ||--current
[--name ][--description ] |
showvminfo |
VBoxManage openmedium disk|dvd|floppy [--type normal|immutable|writethrough|
shareable] (disk only)[--uuid ][--parentuuid ] (disk only)
VBoxManage closemedium disk|dvd|floppy |[--delete]
VBoxManage storageattach --storagectl --port --device [--type dvddrive|hdd|fdd][--medium none|emptydrive|
||host:][--passthrough on|off][--forceunmount]
VBoxManage storagectl --name [--add ide|sata|scsi|floppy|sas][--controller LSILogic|LSILogicSAS|BusLogic|
IntelAHCI|PIIX3|PIIX4|ICH6|I82078][--sataideemulation ][--sataportcount ][--hostiocache on|off][--remove]
VBoxManage showhdinfo |
VBoxManage createhd --filename --size [--format VDI|VMDK|VHD] (default: VDI)[--variant Standard,Fixed,Split2G,Stream,ESX][--type normal|writethrough|
shareable] (default: normal)[--comment ][--remember]
VBoxManage modifyhd |
[--type normal|writethrough|immutable|shareable][--autoreset on|off][--compact]
VBoxManage clonehd | [--format VDI|VMDK|VHD|RAW|][--variant Standard,Fixed,Split2G,Stream,ESX][--type normal|writethrough|immutable|shareable][--remember] [--existing]
-
8/7/2019 vboxOptions
5/7
VBoxManage convertfromraw [--format VDI|VMDK|VHD][--variant Standard,Fixed,Split2G,Stream,ESX]
VBoxManage addiscsidisk --server |--target [--port ][--lun ][--encodedlun ][--username ][--password ][--type normal|writethrough|immutable|shareable][--intnet]
VBoxManage getextradata global|||enumerate
VBoxManage setextradata global||[] (no value deletes key)
VBoxManage setproperty hdfolder default| |machinefolder default| |vrdpauthlibrary default| |
websrvauthlibrary default|null| |loghistorycount
VBoxManage usbfilter add --target ||global--name --action ignore|hold (global filters only)[--active yes|no] (yes)[--vendorid ] (null)[--productid ] (null)[--revision ] (null)[--manufacturer ] (null)[--product ] (null)
[--remote yes|no] (null, VM filters only)[--serialnumber ] (null)[--maskedinterfaces ]
VBoxManage usbfilter modify --target ||global[--name ][--action ignore|hold] (global filters only)[--active yes|no][--vendorid |""][--productid |""][--revision |""][--manufacturer |""]
[--product |""][--remote yes|no] (null, VM filters only)[--serialnumber |""][--maskedinterfaces ]
VBoxManage usbfilter remove --target ||global
VBoxManage sharedfolder add |--name --hostpath
-
8/7/2019 vboxOptions
6/7
[--transient] [--readonly]
VBoxManage sharedfolder remove |--name [--transient]
VBoxManage vmstatistics | [--reset][--pattern ] [--descriptions]
VBoxManage guestproperty get | [--verbose]
VBoxManage guestproperty set | [ [--flags ]]
VBoxManage guestproperty enumerate |[--patterns ]
VBoxManage guestproperty wait | [--timeout ] [--fail-on-timeout]
VBoxManage guestcontrol execute |--username --password [--arguments ""]
[--environment "= [=]"][--flags ] [--timeout ][--verbose] [--wait-for exit,stdout,stderr||]
VBoxManage metrics list [*|host| []](comma-separated)
VBoxManage metrics setup[--period ] (default: 1)[--samples ] (default: 1)[--list][*|host| []]
VBoxManage metrics query [*|host| []]
VBoxManage metrics enable[--list][*|host| []]
VBoxManage metrics disable[--list][*|host| []]
VBoxManage metrics collect[--period ] (default: 1)[--samples ] (default: 1)
[--list][--detach][*|host| []]
VBoxManage hostonlyif ipconfig [--dhcp |--ip [--netmask (def: 255.255.255.0)] |--ipv6 [--netmasklengthv6 (def: 64)]]create |remove
-
8/7/2019 vboxOptions
7/7
VBoxManage dhcpserver add|modify --netname |--ifname
[--ip --netmask --lowerip --upperip ]
[--enable | --disable]
VBoxManage dhcpserver remove --netname |--ifname