User Tools

Site Tools


info:virtualbox:cli
Please note, that this is an old archived version of this site. Check out the new version at andunix.net!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
info:virtualbox:cli [2013-02-04 22:18]
127.0.0.1 external edit
info:virtualbox:cli [2014-02-22 13:16] (current)
andunix
Line 1: Line 1:
 +~~NOTOC~~
 ====== VBoxManage (The VirtualBox CLI) ====== ====== VBoxManage (The VirtualBox CLI) ======
 This is a online reference of the output of ''VBoxManage'' without options. This is a online reference of the output of ''VBoxManage'' without options.
  
-  Sun VirtualBox Command Line Management Interface Version 3.1.4 +<code> 
-  (C) 2005-2010 Sun Microsystems, Inc. +Oracle VM VirtualBox Command Line Management Interface Version 4.2.16 
-  All rights reserved. +(C) 2005-2013 Oracle Corporation 
-   +All rights reserved. 
-  Usage: +</code>
-   +
-===== VBoxManage [-v|--version] ===== +
-  VBoxManage [-v|--version]    print version number and exit +
-===== VBoxManage [-q|--nologo] ===== +
-  VBoxManage [-q|--nologo] ... suppress the logo +
-   +
-===== VBoxManage list ===== +
-  VBoxManage list [--long|-l] vms|runningvms|ostypes|hostdvds|hostfloppies| +
-                              bridgedifs|hostonlyifs|dhcpservers|hostinfo| +
-                              hostcpuids|hddbackends|hdds|dvds|floppies| +
-                              usbhost|usbfilters|systemproperties +
-   +
-===== VBoxManage showvminfo ===== +
-  VBoxManage showvminfo       <uuid>|<name> [--details] [--statistics] +
-                              [--machinereadable] +
-   +
-===== VBoxManage registervm ===== +
-  VBoxManage registervm       <filename> +
-   +
-===== VBoxManage unregistervm ===== +
-  VBoxManage unregistervm     <uuid>|<name> [--delete] +
-   +
-===== VBoxManage createvm ===== +
-  VBoxManage createvm         --name <name> +
-                              [--ostype <ostype>+
-                              [--register] +
-                              [--basefolder <path> | --settingsfile <path>+
-                              [--uuid <uuid>+
-   +
-===== VBoxManage modifyvm ===== +
-  VBoxManage modifyvm         <uuid|name> +
-                              [--name <name>+
-                              [--ostype <ostype>+
-                              [--memory <memorysize in MB>] +
-                              [--vram <vramsize in MB>] +
-                              [--acpi on|off] +
-                              [--ioapic on|off] +
-                              [--pae on|off] +
-                              [--hwvirtex on|off] +
-                              [--nestedpaging on|off] +
-                              [--vtxvpid on|off] +
-                              [--cpuidset <leaf> <eax> <ebx> <ecx> <edx>+
-                              [--cpuidremove <leaf>+
-                              [--cpuidremoveall] +
-                              [--cpus <number>+
-                              [--monitorcount <number>+
-                              [--accelerate3d <on|off>+
-                              [--accelerate2dvideo <on|off>+
-                              [--firmware bios|efi|efi32|efi64] +
-                              [--bioslogofadein on|off] +
-                              [--bioslogofadeout on|off] +
-                              [--bioslogodisplaytime <msec>+
-                              [--bioslogoimagepath <imagepath>+
-                              [--biosbootmenu disabled|menuonly|messageandmenu] +
-                              [--biossystemtimeoffset <msec>+
-                              [--biospxedebug on|off] +
-                              [--boot<1-4> none|floppy|dvd|disk|net>+
-                              [--nic<1-N> none|null|nat|bridged|intnet|hostonly] +
-                              [--nictype<1-N> Am79C970A|Am79C973| +
-                                              82540EM|82543GC|82545EM| +
-                                              virtio] +
-                              [--cableconnected<1-N> on|off] +
-                              [--nictrace<1-N> on|off] +
-                              [--nictracefile<1-N> <filename>+
-                              [--nicspeed<1-N> <kbps>+
-                              [--bridgeadapter<1-N> none|<devicename>+
-                              [--hostonlyadapter<1-N> none|<devicename>+
-                              [--intnet<1-N> <network name>] +
-                              [--natnet<1-N> <network>|default] +
-                              [--macaddress<1-N> auto|<mac>+
-                              [--uart<1-N> off|<I/O base> <IRQ>+
-                              [--uartmode<1-N> disconnected| +
-                                               server <pipe>+
-                                               client <pipe>+
-                                               file <file>+
-                                               <devicename>+
-                              [--gueststatisticsinterval <seconds>+
-                              [--audio none|null|coreaudio] +
-                              [--audiocontroller ac97|sb16] +
-                              [--clipboard disabled|hosttoguest|guesttohost| +
-                                           bidirectional] +
-                              [--vrdp on|off] +
-                              [--vrdpport default|<ports>+
-                              [--vrdpaddress <host>+
-                              [--vrdpauthtype null|external|guest] +
-                              [--vrdpmulticon on|off] +
-                              [--vrdpreusecon on|off] +
-                              [--usb on|off] +
-                              [--usbehci on|off] +
-                              [--snapshotfolder default|<path>+
-                              [--teleporter on|off] +
-                              [--teleporterport <port>+
-                              [--teleporteraddress <address|empty> +
-                              [--teleporterpassword <password>+
-                              [--hardwareuuid <uuid>+
-   +
-===== VBoxManage import ===== +
-  VBoxManage import           <ovf> [--dry-run|-n] [more options] +
-                              (run with -n to have options displayed +
-                               for a particular OVF) +
-   +
-===== VBoxManage export ===== +
-  VBoxManage export           <machines> --output|-o <ovf> +
-                              [--legacy09] +
-                              [--vsys <number of virtual system>+
-                                      [--product <product name>] +
-                                      [--producturl <product url>] +
-                                      [--vendor <vendor name>] +
-                                      [--vendorurl <vendor url>] +
-                                      [--version <version info>] +
-                                      [--eula <license text>] +
-                                      [--eulafile <filename>+
-   +
-===== VBoxManage startvm ===== +
-  VBoxManage startvm          <uuid>|<name> +
-                              [--type gui|sdl|vrdp|headless] +
-   +
-===== VBoxManage controlvm ===== +
-  VBoxManage controlvm        <uuid>|<name> +
-                              pause|resume|reset|poweroff|savestate| +
-                              acpipowerbutton|acpisleepbutton| +
-                              keyboardputscancode <hex> [<hex> ...]| +
-                              injectnmi| +
-                              setlinkstate<1-N> on|off | +
-                              nic<1-N> null|nat|bridged|intnet|hostonly +
-                                       [<devicename>] | +
-                              nictrace<1-N> on|off +
-                              nictracefile<1-N> <filename> +
-                              usbattach <uuid>|<address>+
-                              usbdetach <uuid>|<address>+
-                              vrdp on|off | +
-                              vrdpport default|<ports>+
-                              setvideomodehint <xres> <yres> <bpp> [display] | +
-                              setcredentials <username> <password> <domain> +
-                                             [--allowlocallogon <yes|no>] | +
-                              teleport --host <name> --port <port> +
-                                     [--maxdowntime <msec>] [--password password] +
-   +
-===== VBoxManage discardstate ===== +
-  VBoxManage discardstate     <uuid>|<name> +
-   +
-===== VBoxManage adoptstate ===== +
-  VBoxManage adoptstate       <uuid>|<name> <state_file> +
-   +
-===== VBoxManage snapshot ===== +
-  VBoxManage snapshot         <uuid>|<name> +
-                              take <name> [--description <desc>] [--pause] | +
-                              delete <uuid>|<name>+
-                              restore <uuid>|<name>+
-                              restorecurrent | +
-                              edit <uuid>|<name>|--current +
-                                   [--name <name>+
-                                   [--description <desc>] | +
-                              showvminfo <uuid>|<name> +
-   +
-===== VBoxManage openmedium ===== +
-  VBoxManage openmedium       disk|dvd|floppy <filename> +
-                              [--type normal|immutable|writethrough] (disk only) +
-                              [--uuid <uuid>+
-                              [--parentuuid <uuid>] (disk only) +
-   +
-===== VBoxManage closemedium ===== +
-  VBoxManage closemedium      disk|dvd|floppy <uuid>|<filename> +
-                              [--delete] +
-   +
-===== VBoxManage storageattach ===== +
-  VBoxManage storageattach    <uuid|vmname> +
-                              --storagectl <name> +
-                              --port <number> +
-                              --device <number> +
-                              [--type <dvddrive|hdd|fdd> +
-                               --medium <none|emptydrive|uuid|filename|host:<drive>>+
-                              [--passthrough <on|off>+
-                              [--forceunmount] +
-   +
-===== VBoxManage storagectl ===== +
-  VBoxManage storagectl       <uuid|vmname> +
-                              --name <name> +
-                              [--add <ide/sata/scsi/floppy>+
-                              [--controller <LsiLogic/BusLogic/IntelAhci/PIIX3/PIIX4/ICH6/I82078>+
-                              [--sataideemulation<1-4> <1-30>+
-                              [--sataportcount <1-30>+
-                              [--remove] +
-   +
-===== VBoxManage showhdinfo ===== +
-  VBoxManage showhdinfo       <uuid>|<filename> +
-   +
-===== VBoxManage createhd ===== +
-  VBoxManage createhd         --filename <filename> +
-                              --size <megabytes> +
-                              [--format VDI|VMDK|VHD] (default: VDI) +
-                              [--variant Standard,Fixed,Split2G,Stream,ESX] +
-                              [--type normal|writethrough] (default: normal) +
-                              [--comment <comment>+
-                              [--remember] +
-   +
-===== VBoxManage modifyhd ===== +
-  VBoxManage modifyhd         <uuid>|<filename> +
-                              [--type normal|writethrough|immutable] +
-                              [--autoreset on|off] +
-                              [--compact] +
-   +
-===== VBoxManage clonehd ===== +
-  VBoxManage clonehd          <uuid>|<filename> <outputfile> +
-                              [--format VDI|VMDK|VHD|RAW|<other>+
-                              [--variant Standard,Fixed,Split2G,Stream,ESX] +
-                              [--type normal|writethrough|immutable] +
-                              [--remember] [--existing] +
-   +
-===== VBoxManage convertfromraw ===== +
-  VBoxManage convertfromraw   <filename> <outputfile> +
-                              [--format VDI|VMDK|VHD] +
-                              [--variant Standard,Fixed,Split2G,Stream,ESX] +
-  VBoxManage convertfromraw   stdin <outputfile> <bytes> +
-                              [--format VDI|VMDK|VHD] +
-                              [--variant Standard,Fixed,Split2G,Stream,ESX] +
-   +
-===== VBoxManage addiscsidisk ===== +
-  VBoxManage addiscsidisk     --server <name>|<ip> +
-                              --target <target> +
-                              [--port <port>+
-                              [--lun <lun>+
-                              [--encodedlun <lun>+
-                              [--username <username>+
-                              [--password <password>+
-                              [--type normal|writethrough|immutable] +
-                              [--intnet] +
-   +
-===== VBoxManage getextradata ===== +
-  VBoxManage getextradata     global|<uuid>|<name> +
-                              <key>|enumerate +
-   +
-===== VBoxManage setextradata ===== +
-  VBoxManage setextradata     global|<uuid>|<name> +
-                              <key> +
-                              [<value>] (no value deletes key) +
-   +
-===== VBoxManage setproperty ===== +
-  VBoxManage setproperty      hdfolder default|<folder>+
-                              machinefolder default|<folder>+
-                              vrdpauthlibrary default|<library>+
-                              websrvauthlibrary default|null|<library>+
-                              loghistorycount <value> +
-   +
-===== VBoxManage usbfilter ===== +
-  VBoxManage usbfilter        add <index,0-N> +
-                              --target <uuid>|<name>|global +
-                              --name <string> +
-                              --action ignore|hold (global filters only) +
-                              [--active yes|no] (yes) +
-                              [--vendorid <XXXX>] (null) +
-                              [--productid <XXXX>] (null) +
-                              [--revision <IIFF>] (null) +
-                              [--manufacturer <string>] (null) +
-                              [--product <string>] (null) +
-                              [--remote yes|no] (null, VM filters only) +
-                              [--serialnumber <string>] (null) +
-                              [--maskedinterfaces <XXXXXXXX>+
-   +
-  VBoxManage usbfilter        modify <index,0-N> +
-                              --target <uuid>|<name>|global +
-                              [--name <string>+
-                              [--action ignore|hold] (global filters only) +
-                              [--active yes|no] +
-                              [--vendorid <XXXX>|""+
-                              [--productid <XXXX>|""+
-                              [--revision <IIFF>|""+
-                              [--manufacturer <string>|""+
-                              [--product <string>|""+
-                              [--remote yes|no] (null, VM filters only) +
-                              [--serialnumber <string>|""+
-                              [--maskedinterfaces <XXXXXXXX>+
-   +
-  VBoxManage usbfilter        remove <index,0-N> +
-                              --target <uuid>|<name>|global +
-   +
-===== VBoxManage sharedfolder ===== +
-  VBoxManage sharedfolder     add <vmname>|<uuid> +
-                              --name <name> --hostpath <hostpath> +
-                              [--transient] [--readonly] +
-   +
-  VBoxManage sharedfolder     remove <vmname>|<uuid> +
-                              --name <name> [--transient] +
-   +
-===== VBoxManage vmstatistics ===== +
-  VBoxManage vmstatistics     <vmname>|<uuid> [--reset] +
-                              [--pattern <pattern>] [--descriptions] +
-   +
-===== VBoxManage guestproperty ===== +
-  VBoxManage guestproperty    get <vmname>|<uuid> +
-                              <property> [--verbose] +
-   +
-  VBoxManage guestproperty    set <vmname>|<uuid> +
-                              <property> [<value> [--flags <flags>]] +
-   +
-  VBoxManage guestproperty    enumerate <vmname>|<uuid> +
-                              [--patterns <patterns>+
-   +
-  VBoxManage guestproperty    wait <vmname>|<uuid> <patterns> +
-                              [--timeout <milliseconds>] [--fail-on-timeout] +
-   +
-===== VBoxManage metrics ===== +
-  VBoxManage metrics          list [*|host|<vmname> [<metric_list>]] +
-                                                   (comma-separated) +
-   +
-  VBoxManage metrics          setup +
-                              [--period <seconds>+
-                              [--samples <count>+
-                              [--list] +
-                              [*|host|<vmname> [<metric_list>]] +
-   +
-  VBoxManage metrics          query [*|host|<vmname> [<metric_list>]] +
-   +
-  VBoxManage metrics          collect +
-                              [--period <seconds>+
-                              [--samples <count>+
-                              [--list] +
-                              [--detach] +
-                              [*|host|<vmname> [<metric_list>]] +
-   +
-===== VBoxManage hostonlyif ===== +
-  VBoxManage hostonlyif       ipconfig <name> +
-                              [--dhcp | +
-                              --ip<ipv4> [--netmask<ipv4> (def: 255.255.255.0)] | +
-                              --ipv6<ipv6> [--netmasklengthv6<length> (def: 64)]] +
-   +
-===== VBoxManage dhcpserver ===== +
-  VBoxManage dhcpserver       add|modify --netname <network_name>+
-                                         --ifname <hostonly_if_name> +
-                                  [--ip <ip_address> +
-                                   --netmask <network_mask> +
-                                   --lowerip <lower_ip> +
-                                   --upperip <upper_ip>+
-                                  [--enable | --disable] +
-  VBoxManage dhcpserver       remove --netname <network_name>+
-                                     --ifname <hostonly_if_name>+
  
-----+===== Usage: =====
  
-Formated with the following perl script+  VBoxManage [<general option>] <command> 
-<code perl+ 
-while (defined($line=<STDIN>)) { +===== General Options===== 
-  if ($line =/^VBoxManage ([]+) / and $topic ne $1) { + 
-    $topic $1; +  [-v|--version]            print version number and exit 
-    print "===== VBoxManage $1 =====\n"; +  [-q|--nologo]             suppress the logo 
-  } +  [--settingspw <pw>]       provide the settings password 
-  print "  $line"; +  [--settingspwfile <file>] provide a file containing the settings password 
-} +  
-</code>+===== Commands: ===== 
 + 
 +  list [--long|-l]          vms|runningvms|ostypes|hostdvds|hostfloppies| 
 +                            bridgedifs|hostonlyifs|dhcpservers|hostinfo| 
 +                            hostcpuids|hddbackends|hdds|dvds|floppies| 
 +                            usbhost|usbfilters|systemproperties|extpacks| 
 +                            groups 
 + 
 +  showvminfo                <uuid>|<name> [--details] 
 +                            [--machinereadable] 
 +  showvminfo                <uuid>|<name> --log <idx> 
 + 
 +  registervm                <filename> 
 + 
 +  unregistervm              <uuid>|<name> [--delete] 
 + 
 +  createvm                  --name <name> 
 +                            [--groups <group>, ...] 
 +                            [--ostype <ostype>
 +                            [--register] 
 +                            [--basefolder <path>
 +                            [--uuid <uuid>
 + 
 +  modifyvm                  <uuid|name> 
 +                            [--name <name>
 +                            [--groups <group>, ...] 
 +                            [--ostype <ostype>
 +                            [--memory <memorysize in MB>] 
 +                            [--pagefusion on|off] 
 +                            [--vram <vramsize in MB>] 
 +                            [--acpi on|off] 
 +                            [--pciattach 03:04.0] 
 +                            [--pciattach 03:04.0@02:01.0] 
 +                            [--pcidetach 03:04.0] 
 +                            [--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 <leaf> <eax> <ebx> <ecx> <edx>
 +                            [--cpuidremove <leaf>
 +                            [--cpuidremoveall] 
 +                            [--hardwareuuid <uuid>
 +                            [--cpus <number>
 +                            [--cpuhotplug on|off] 
 +                            [--plugcpu <id>
 +                            [--unplugcpu <id>
 +                            [--cpuexecutioncap <1-100>
 +                            [--rtcuseutc on|off] 
 +                            [--monitorcount <number>
 +                            [--accelerate3d on|off] 
 +                            [--accelerate2dvideo on|off] 
 +                            [--firmware bios|efi|efi32|efi64] 
 +                            [--chipset ich9|piix3] 
 +                            [--bioslogofadein on|off] 
 +                            [--bioslogofadeout on|off] 
 +                            [--bioslogodisplaytime <msec>
 +                            [--bioslogoimagepath <imagepath>
 +                            [--biosbootmenu disabled|menuonly|messageandmenu] 
 +                            [--biossystemtimeoffset <msec>
 +                            [--biospxedebug on|off] 
 +                            [--boot<1-4> none|floppy|dvd|disk|net>
 +                            [--nic<1-N> none|null|nat|bridged|intnet|hostonly| 
 +                                        generic] 
 +                            [--nictype<1-N> Am79C970A|Am79C973| 
 +                                            82540EM|82543GC|82545EM| 
 +                                            virtio] 
 +                            [--cableconnected<1-N> on|off] 
 +                            [--nictrace<1-N> on|off] 
 +                            [--nictracefile<1-N> <filename>
 +                            [--nicproperty<1-N> name=[value]] 
 +                            [--nicspeed<1-N> <kbps>
 +                            [--nicbootprio<1-N> <priority>
 +                            [--nicpromisc<1-N> deny|allow-vms|allow-all] 
 +                            [--nicbandwidthgroup<1-N> none|<name>
 +                            [--bridgeadapter<1-N> none|<devicename>
 +                            [--hostonlyadapter<1-N> none|<devicename>
 +                            [--intnet<1-N> <network name>] 
 +                            [--natnet<1-N> <network>|default] 
 +                            [--nicgenericdrv<1-N> <driver> 
 +                            [--natsettings<1-N> [<mtu>],[<socksnd>], 
 +                                                [<sockrcv>],[<tcpsnd>], 
 +                                                [<tcprcv>]] 
 +                            [--natpf<1-N> [<rulename>],tcp|udp,[<hostip>], 
 +                                          <hostport>,[<guestip>],<guestport>
 +                            [--natpf<1-N> delete <rulename>
 +                            [--nattftpprefix<1-N> <prefix>
 +                            [--nattftpfile<1-N> <file>
 +                            [--nattftpserver<1-N> <ip>
 +                            [--natbindip<1-N> <ip> 
 +                            [--natdnspassdomain<1-N> on|off] 
 +                            [--natdnsproxy<1-N> on|off] 
 +                            [--natdnshostresolver<1-N> on|off] 
 +                            [--nataliasmode<1-N> default|[log],[proxyonly], 
 +                                                         [sameports]] 
 +                            [--macaddress<1-N> auto|<mac>
 +                            [--mouse ps2|usb|usbtablet 
 +                            [--keyboard ps2|usb 
 +                            [--uart<1-N> off|<I/O base> <IRQ>
 +                            [--uartmode<1-N> disconnected| 
 +                                             server <pipe>
 +                                             client <pipe>
 +                                             file <file>
 +                                             <devicename>] 
 +                            [--guestmemoryballoon <balloonsize in MB>] 
 +                            [--audio none|null|coreaudio] 
 +                            [--audiocontroller ac97|hda|sb16] 
 +                            [--clipboard disabled|hosttoguest|guesttohost| 
 +                                         bidirectional] 
 +                            [--draganddrop disabled|hosttoguest 
 +                            [--vrde on|off] 
 +                            [--vrdeextpack default|<name> 
 +                            [--vrdeproperty <name=[value]>
 +                            [--vrdeport <hostport>
 +                            [--vrdeaddress <hostip>
 +                            [--vrdeauthtype null|external|guest] 
 +                            [--vrdeauthlibrary default|<name> 
 +                            [--vrdemulticon on|off] 
 +                            [--vrdereusecon on|off] 
 +                            [--vrdevideochannel on|off] 
 +                            [--vrdevideochannelquality <percent>
 +                            [--usb on|off] 
 +                            [--usbehci on|off] 
 +                            [--snapshotfolder default|<path>
 +                            [--teleporter on|off] 
 +                            [--teleporterport <port>
 +                            [--teleporteraddress <address|empty> 
 +                            [--teleporterpassword <password>
 +                            [--teleporterpasswordfile  <file>|stdin] 
 +                            [--tracing-enabled on|off] 
 +                            [--tracing-config <config-string>
 +                            [--tracing-allow-vm-access on|off] 
 +                            [--usbwebcam on|off] 
 +                            [--usbcardreader on|off] 
 +                            [--autostart-enabled on|off] 
 +                            [--autostart-delay <seconds>
 + 
 +  clonevm                   <uuid>|<name> 
 +                            [--snapshot <uuid>|<name>
 +                            [--mode machine|machineandchildren|all] 
 +                            [--options link|keepallmacs|keepnatmacs| 
 +                                       keepdisknames] 
 +                            [--name <name>
 +                            [--groups <group>, ...] 
 +                            [--basefolder <basefolder>
 +                            [--uuid <uuid>
 +                            [--register] 
 + 
 +  import                    <ovf/ova> 
 +                            [--dry-run|-n] 
 +                            [--options keepallmacs|keepnatmacs] 
 +                            [more options] 
 +                            (run with -n to have options displayed 
 +                             for a particular OVF) 
 + 
 +  export                    <machines> --output|-o <name>.<ovf/ova> 
 +                            [--legacy09|--ovf09|--ovf10|--ovf20] 
 +                            [--manifest] 
 +                            [--vsys <number of virtual system>
 +                                    [--product <product name>] 
 +                                    [--producturl <product url>] 
 +                                    [--vendor <vendor name>] 
 +                                    [--vendorurl <vendor url>] 
 +                                    [--version <version info>] 
 +                                    [--eula <license text>] 
 +                                    [--eulafile <filename>
 + 
 +  startvm                   <uuid>|<name>... 
 +                            [--type gui|headless] 
 + 
 +  controlvm                 <uuid>|<name> 
 +                            pause|resume|reset|poweroff|savestate| 
 +                            acpipowerbutton|acpisleepbutton| 
 +                            keyboardputscancode <hex> [<hex> ...]| 
 +                            setlinkstate<1-N> on|off | 
 +                            nic<1-N> null|nat|bridged|intnet|hostonly|generic 
 +                                     [<devicename>] | 
 +                            nictrace<1-N> on|off | 
 +                            nictracefile<1-N> <filename>
 +                            nicproperty<1-N> name=[value] | 
 +                            nicpromisc<1-N> deny|allow-vms|allow-all | 
 +                            natpf<1-N> [<rulename>],tcp|udp,[<hostip>], 
 +                                        <hostport>,[<guestip>],<guestport>
 +                            natpf<1-N> delete <rulename>
 +                            guestmemoryballoon <balloonsize in MB> | 
 +                            usbattach <uuid>|<address>
 +                            usbdetach <uuid>|<address>
 +                            clipboard disabled|hosttoguest|guesttohost| 
 +                                      bidirectional | 
 +                            draganddrop disabled|hosttoguest | 
 +                            vrde on|off | 
 +                            vrdeport <port>
 +                            vrdeproperty <name=[value]> | 
 +                            vrdevideochannelquality <percent>
 +                            setvideomodehint <xres> <yres> <bpp> 
 +                                            [[<display>] [<enabled:yes|no>
 +                                              [<xorigin> <yorigin>]]] | 
 +                            screenshotpng <file> [display] | 
 +                            setcredentials <username> 
 +                                           --passwordfile <file> | <password> 
 +                                           <domain> 
 +                                           [--allowlocallogon <yes|no>] | 
 +                            teleport --host <name> --port <port> 
 +                                     [--maxdowntime <msec>
 +                                     [--passwordfile <file>
 +                                      --password <password>] | 
 +                            plugcpu <id> | 
 +                            unplugcpu <id> | 
 +                            cpuexecutioncap <1-100> 
 + 
 +  discardstate              <uuid>|<name> 
 + 
 +  adoptstate                <uuid>|<name> <state_file> 
 + 
 +  snapshot                  <uuid>|<name> 
 +                            take <name> [--description <desc>] [--pause] | 
 +                            delete <uuid>|<name>
 +                            restore <uuid>|<name>
 +                            restorecurrent | 
 +                            edit <uuid>|<name>|--current 
 +                                 [--name <name>
 +                                 [--description <desc>] | 
 +                            list [--details|--machinereadable] 
 +                            showvminfo <uuid>|<name> 
 + 
 +  closemedium               disk|dvd|floppy <uuid>|<filename> 
 +                            [--delete] 
 + 
 +  storageattach             <uuid|vmname> 
 +                            --storagectl <name> 
 +                            [--port <number>
 +                            [--device <number>
 +                            [--type dvddrive|hdd|fdd] 
 +                            [--medium none|emptydrive|additions| 
 +                                      <uuid>|<filename>|host:<drive>|iscsi] 
 +                            [--mtype normal|writethrough|immutable|shareable| 
 +                                     readonly|multiattach] 
 +                            [--comment <text>
 +                            [--setuuid <uuid>
 +                            [--setparentuuid <uuid>
 +                            [--passthrough on|off] 
 +                            [--tempeject on|off] 
 +                            [--nonrotational on|off] 
 +                            [--discard on|off] 
 +                            [--bandwidthgroup <name>
 +                            [--forceunmount] 
 +                            [--server <name>|<ip>
 +                            [--target <target>
 +                            [--tport <port>
 +                            [--lun <lun>
 +                            [--encodedlun <lun>
 +                            [--username <username>
 +                            [--password <password>
 +                            [--initiator <initiator>
 +                            [--intnet] 
 + 
 +  storagectl                <uuid|vmname> 
 +                            --name <name> 
 +                            [--add ide|sata|scsi|floppy|sas] 
 +                            [--controller LSILogic|LSILogicSAS|BusLogic| 
 +                                          IntelAHCI|PIIX3|PIIX4|ICH6|I82078] 
 +                            [--sataportcount <1-30>
 +                            [--hostiocache on|off] 
 +                            [--bootable on|off] 
 +                            [--remove] 
 + 
 +  bandwidthctl              <uuid|vmname> 
 +                            add <name> --type disk|network 
 +                                --limit <megabytes per second>[k|m|g|K|M|G] | 
 +                            set <name> 
 +                                --limit <megabytes per second>[k|m|g|K|M|G] | 
 +                            remove <name>
 +                            list [--machinereadable] 
 +                            (limit units: k=kilobit, m=megabit, g=gigabit, 
 +                                          K=kilobyte, M=megabyte, G=gigabyte) 
 + 
 +  showhdinfo                <uuid>|<filename> 
 + 
 +  createhd                  --filename <filename> 
 +                            [--size <megabytes>|--sizebyte <bytes>
 +                            [--diffparent <uuid>|<filename> 
 +                            [--format VDI|VMDK|VHD] (default: VDI) 
 +                            [--variant Standard,Fixed,Split2G,Stream,ESX] 
 + 
 +  modifyhd                  <uuid>|<filename> 
 +                            [--type normal|writethrough|immutable|shareable| 
 +                                    readonly|multiattach] 
 +                            [--autoreset on|off] 
 +                            [--compact] 
 +                            [--resize <megabytes>|--resizebyte <bytes>
 + 
 +  clonehd                   <uuid>|<filename> <uuid>|<outputfile> 
 +                            [--format VDI|VMDK|VHD|RAW|<other>
 +                            [--variant Standard,Fixed,Split2G,Stream,ESX] 
 +                            [--existing] 
 + 
 +  convertfromraw            <filename> <outputfile> 
 +                            [--format VDI|VMDK|VHD] 
 +                            [--variant Standard,Fixed,Split2G,Stream,ESX] 
 +                            [--uuid <uuid>
 +  convertfromraw            stdin <outputfile> <bytes> 
 +                            [--format VDI|VMDK|VHD] 
 +                            [--variant Standard,Fixed,Split2G,Stream,ESX] 
 +                            [--uuid <uuid>
 + 
 +  getextradata              global|<uuid>|<name> 
 +                            <key>|enumerate 
 + 
 +  setextradata              global|<uuid>|<name> 
 +                            <key> 
 +                            [<value>] (no value deletes key) 
 + 
 +  setproperty               machinefolder default|<folder>
 +                            vrdeauthlibrary default|<library>
 +                            websrvauthlibrary default|null|<library>
 +                            vrdeextpack null|<library>
 +                            autostartdbpath null|<folder>
 +                            loghistorycount <value> 
 + 
 +  usbfilter                 add <index,0-N> 
 +                            --target <uuid>|<name>|global 
 +                            --name <string> 
 +                            --action ignore|hold (global filters only) 
 +                            [--active yes|no] (yes) 
 +                            [--vendorid <XXXX>] (null) 
 +                            [--productid <XXXX>] (null) 
 +                            [--revision <IIFF>] (null) 
 +                            [--manufacturer <string>] (null) 
 +                            [--product <string>] (null) 
 +                            [--remote yes|no] (null, VM filters only) 
 +                            [--serialnumber <string>] (null) 
 +                            [--maskedinterfaces <XXXXXXXX>
 + 
 +  usbfilter                 modify <index,0-N> 
 +                            --target <uuid>|<name>|global 
 +                            [--name <string>
 +                            [--action ignore|hold] (global filters only) 
 +                            [--active yes|no] 
 +                            [--vendorid <XXXX>|""
 +                            [--productid <XXXX>|""
 +                            [--revision <IIFF>|""
 +                            [--manufacturer <string>|""
 +                            [--product <string>|""
 +                            [--remote yes|no] (null, VM filters only) 
 +                            [--serialnumber <string>|""
 +                            [--maskedinterfaces <XXXXXXXX>
 + 
 +  usbfilter                 remove <index,0-N> 
 +                            --target <uuid>|<name>|global 
 + 
 +  sharedfolder              add <vmname>|<uuid> 
 +                            --name <name> --hostpath <hostpath> 
 +                            [--transient] [--readonly] [--automount] 
 + 
 +  sharedfolder              remove <vmname>|<uuid> 
 +                            --name <name> [--transient] 
 + 
 +  guestproperty             get <vmname>|<uuid> 
 +                            <property> [--verbose] 
 + 
 +  guestproperty             set <vmname>|<uuid> 
 +                            <property> [<value> [--flags <flags>]] 
 + 
 +  guestproperty             enumerate <vmname>|<uuid> 
 +                            [--patterns <patterns>
 + 
 +  guestproperty             wait <vmname>|<uuid> <patterns> 
 +                            [--timeout <msec>] [--fail-on-timeout] 
 + 
 +  guestcontrol              <vmname>|<uuid> 
 +                            exec[ute] 
 +                            --image <path to program> --username <name> 
 +                            [--passwordfile <file> | --password <password>
 +                            [--domain <domain>] [--verbose] [--timeout <msec>
 +                            [--environment "<NAME>=<VALUE> [<NAME>=<VALUE>]"
 +                            [--wait-exit] [--wait-stdout] [--wait-stderr] 
 +                            [--dos2unix] [--unix2dos] 
 +                            [-- [<argument1>] ... [<argumentN>]] 
 + 
 +                            copyfrom 
 +                            <guest source> <host dest> --username <name> 
 +                            [--passwordfile <file> | --password <password>
 +                            [--domain <domain>] [--verbose] 
 +                            [--dryrun] [--follow] [--recursive] 
 + 
 +                            copyto|cp 
 +                            <host source> <guest dest> --username <name> 
 +                            [--passwordfile <file> | --password <password>
 +                            [--domain <domain>] [--verbose] 
 +                            [--dryrun] [--follow] [--recursive] 
 + 
 +                            createdir[ectory]|mkdir|md 
 +                            <guest directory>... --username <name> 
 +                            [--passwordfile <file> | --password <password>
 +                            [--domain <domain>] [--verbose] 
 +                            [--parents] [--mode <mode>
 + 
 +                            stat 
 +                            <file>... --username <name> 
 +                            [--passwordfile <file> | --password <password>
 +                            [--domain <domain>] [--verbose] 
 + 
 +                            updateadditions 
 +                            [--source <guest additions .ISO>] [--verbose] 
 +                            [--wait-start] 
 + 
 +  debugvm                   <uuid>|<name> 
 +                            dumpguestcore --filename <name>
 +                            info <item> [args] | 
 +                            injectnmi | 
 +                            log [--release|--debug] <settings> ...| 
 +                            logdest [--release|--debug] <settings> ...| 
 +                            logflags [--release|--debug] <settings> ...| 
 +                            osdetect | 
 +                            osinfo | 
 +                            getregisters [--cpu <id>] <reg>|all ... | 
 +                            setregisters [--cpu <id>] <reg>=<value> ... | 
 +                            show [--human-readable|--sh-export|--sh-eval| 
 +                                  --cmd-set]  
 +                                <logdbg-settings|logrel-settings> 
 +                                [[opt] what ...] | 
 +                            statistics [--reset] [--pattern <pattern>
 +                            [--descriptions] 
 + 
 +  metrics                   list [*|host|<vmname> [<metric_list>]] 
 +                                                 (comma-separated) 
 + 
 +  metrics                   setup 
 +                            [--period <seconds>] (default: 1) 
 +                            [--samples <count>] (default: 1) 
 +                            [--list] 
 +                            [*|host|<vmname> [<metric_list>]] 
 + 
 +  metrics                   query [*|host|<vmname> [<metric_list>]] 
 + 
 +  metrics                   enable 
 +                            [--list] 
 +                            [*|host|<vmname> [<metric_list>]] 
 + 
 +  metrics                   disable 
 +                            [--list] 
 +                            [*|host|<vmname> [<metric_list>]] 
 + 
 +  metrics                   collect 
 +                            [--period <seconds>] (default: 1) 
 +                            [--samples <count>] (default: 1) 
 +                            [--list] 
 +                            [--detach] 
 +                            [*|host|<vmname> [<metric_list>]] 
 + 
 +  hostonlyif                ipconfig <name> 
 +                            [--dhcp | 
 +                            --ip<ipv4> [--netmask<ipv4> (def: 255.255.255.0)] | 
 +                            --ipv6<ipv6> [--netmasklengthv6<length> (def: 64)]] 
 +                            create | 
 +                            remove <name> 
 + 
 +  dhcpserver                add|modify --netname <network_name>
 +                                       --ifname <hostonly_if_name> 
 +                            [--ip <ip_address> 
 +                            --netmask <network_mask> 
 +                            --lowerip <lower_ip> 
 +                            --upperip <upper_ip>
 +                            [--enable | --disable] 
 + 
 +  dhcpserver                remove --netname <network_name>
 +                                   --ifname <hostonly_if_name> 
 + 
 +  extpack                   install [--replace] <tarball>
 +                            uninstall [--force] <name>
 +                            cleanup
  
 {{tag>virtualbox documentation reference cli}} {{tag>virtualbox documentation reference cli}}
info/virtualbox/cli.1360016283.txt.gz · Last modified: 2013-03-01 20:59 (external edit)