VBoxManageHelp.cpp revision b0e4c86da01d9a0941097b9576925ee5bafae0b4
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync * VBoxManage - help and other message output.
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync * Copyright (C) 2006-2009 Sun Microsystems, Inc.
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync * available from http://www.virtualbox.org. This file is free software;
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync * you can redistribute it and/or modify it under the terms of the GNU
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync * General Public License (GPL) as published by the Free Software
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync * Clara, CA 95054 USA or visit http://www.sun.com if you need
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync * additional information or have any questions.
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync bool fLinux = true;
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync bool fLinux = false;
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync bool fWin = true;
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync bool fWin = false;
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync bool fSolaris = true;
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync bool fSolaris = false;
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync bool fDarwin = true;
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync bool fDarwin = false;
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync bool fVRDP = true;
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync bool fVRDP = false;
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf("VBoxManage [-v|-version] print version number and exit\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync "VBoxManage -nologo ... suppress the logo\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf("VBoxManage list [--long|-l] vms|runningvms|ostypes|hostdvds|hostfloppies|\n"
7c1f498692cd2393f8ba68cb62be482495106f93vboxsync#if (defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT))
d1fcf24d24368926be13484524a9e378070a9157vboxsync " bridgedifs|hostonlyifs|dhcpservers|hostinfo|hddbackends|hdds|dvds|floppies|\n"
d1fcf24d24368926be13484524a9e378070a9157vboxsync " bridgedifs|hostinfo|dhcpservers|hddbackends|hdds|dvds|floppies|\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " usbhost|usbfilters|systemproperties\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf("VBoxManage showvminfo <uuid>|<name> [-details] [-statistics]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-machinereadable]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf("VBoxManage unregistervm <uuid>|<name> [-delete]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-ostype <ostype>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-register]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-basefolder <path> | -settingsfile <path>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-uuid <uuid>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf("VBoxManage export <machines> [--output|-o] <ovf>\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-name <name>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-ostype <ostype>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-memory <memorysize in MB>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-vram <vramsize in MB>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-acpi on|off]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-ioapic on|off]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-pae on|off]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-hwvirtex on|off|default]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-nestedpaging on|off]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-vtxvpid on|off]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-monitorcount <number>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-accelerate3d <on|off>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-bioslogofadein on|off]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-bioslogofadeout on|off]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-bioslogodisplaytime <msec>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-bioslogoimagepath <imagepath>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-biosbootmenu disabled|menuonly|messageandmenu]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-biossystemtimeoffset <msec>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-biospxedebug on|off]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-boot<1-4> none|floppy|dvd|disk|net>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-hd<a|b|d> none|<uuid>|<filename>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-idecontroller PIIX3|PIIX4]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-sata on|off]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-sataportcount <1-30>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-sataport<1-30> none|<uuid>|<filename>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-sataideemulation<1-4> <1-30>]\n"
a59528c40bbfdcee2e315756333f8c66f35b5accvboxsync " [-scsi on|off]\n"
a59528c40bbfdcee2e315756333f8c66f35b5accvboxsync " [-scsiport<1-16> none|<uuid>|<filename>]\n"
a59528c40bbfdcee2e315756333f8c66f35b5accvboxsync " [-scsitype LsiLogic|BusLogic]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-dvd none|<uuid>|<filename>|host:<drive>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-dvdpassthrough on|off]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-floppy disabled|empty|<uuid>|\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " <filename>|host:<drive>]\n"
7c1f498692cd2393f8ba68cb62be482495106f93vboxsync#if defined(RT_OS_LINUX) || defined(RT_OS_DARWIN) || (defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT))
7c1f498692cd2393f8ba68cb62be482495106f93vboxsync " [-nic<1-N> none|null|nat|bridged|intnet|hostonly]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync#else /* !RT_OS_LINUX && !RT_OS_DARWIN */
7c1f498692cd2393f8ba68cb62be482495106f93vboxsync " [-nic<1-N> none|null|nat|bridged|intnet]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync#endif /* !RT_OS_LINUX && !RT_OS_DARWIN */
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-nictype<1-N> Am79C970A|Am79C973"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync "|82540EM|82543GC"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-cableconnected<1-N> on|off]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-nictrace<1-N> on|off]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-nictracefile<1-N> <filename>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-nicspeed<1-N> <kbps>]\n"
08de270f07378125f9601f9b35acc0b46a13174fvboxsync " [-bridgeadapter<1-N> none|<devicename>]\n"
08de270f07378125f9601f9b35acc0b46a13174fvboxsync " [-hostonlyadapter<1-N> none|<devicename>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-intnet<1-N> <network name>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-natnet<1-N> <network>|default]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-macaddress<1-N> auto|<mac>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-uart<1-N> off|<I/O base> <IRQ>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-uartmode<1-N> disconnected|\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " server <pipe>|\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " client <pipe>|\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " <devicename>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-guestmemoryballoon <balloonsize in MB>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-gueststatisticsinterval <seconds>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-clipboard disabled|hosttoguest|guesttohost|\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " bidirectional]\n");
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-vrdpport default|<port>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-vrdpaddress <host>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-vrdpauthtype null|external|guest]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-vrdpmulticon on|off]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-vrdpreusecon on|off]\n");
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-usbehci on|off]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-snapshotfolder default|<path>]\n");
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " pause|resume|reset|poweroff|savestate|\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " acpipowerbutton|acpisleepbutton|\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " keyboardputscancode <hex> [<hex> ...]|\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " injectnmi|\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " setlinkstate<1-4> on|off |\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " usbattach <uuid>|<address> |\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " usbdetach <uuid>|<address> |\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " dvdattach none|<uuid>|<filename>|host:<drive> |\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " floppyattach none|<uuid>|<filename>|host:<drive> |\n");
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf(" setvideomodehint <xres> <yres> <bpp> [display]|\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " setcredentials <username> <password> <domain>\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-allowlocallogon <yes|no>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf("VBoxManage adoptstate <uuid>|<name> <state_file>\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " take <name> [-desc <desc>] |\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " discard <uuid>|<name> |\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " discardcurrent -state|-all |\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " edit <uuid>|<name>|-current\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-newname <name>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-newdesc <desc>] |\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " showvminfo <uuid>|<name>\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf("VBoxManage openmedium disk|dvd|floppy <filename>\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-type normal|immutable|writethrough] (disk only)\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf("VBoxManage closemedium disk|dvd|floppy <uuid>|<filename>\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf("VBoxManage showhdinfo <uuid>|<filename>\n"
47699a0c42ead32866009e0d91bfb349490feaf9vboxsync RTPrintf("VBoxManage createhd --filename <filename>\n"
47699a0c42ead32866009e0d91bfb349490feaf9vboxsync " --size <megabytes>\n"
47699a0c42ead32866009e0d91bfb349490feaf9vboxsync " [--format VDI|VMDK|VHD] (default: VDI)\n"
47699a0c42ead32866009e0d91bfb349490feaf9vboxsync " [--variant Standard|Fixed|Diff|Split2G|Stream]\n"
47699a0c42ead32866009e0d91bfb349490feaf9vboxsync " [--type normal|writethrough] (default: normal)\n"
47699a0c42ead32866009e0d91bfb349490feaf9vboxsync " [--comment <comment>]\n"
47699a0c42ead32866009e0d91bfb349490feaf9vboxsync " [--remember]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " settype normal|writethrough|immutable |\n"
46fcc16fd8ee95bb4e5c4e662aebcc86248c8ef0vboxsync " autoreset on|off |\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " compact\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf("VBoxManage clonehd <uuid>|<filename> <outputfile>\n"
47699a0c42ead32866009e0d91bfb349490feaf9vboxsync " [--format VDI|VMDK|VHD|RAW|<other>]\n"
47699a0c42ead32866009e0d91bfb349490feaf9vboxsync " [--variant Standard|Fixed|Diff|Split2G|Stream]\n"
47699a0c42ead32866009e0d91bfb349490feaf9vboxsync " [--type normal|writethrough|immutable]\n"
47699a0c42ead32866009e0d91bfb349490feaf9vboxsync " [--remember]\n"
47699a0c42ead32866009e0d91bfb349490feaf9vboxsync RTPrintf("VBoxManage convertfromraw <filename> <outputfile>\n"
47699a0c42ead32866009e0d91bfb349490feaf9vboxsync " [--format VDI|VMDK|VHD]\n"
47699a0c42ead32866009e0d91bfb349490feaf9vboxsync " [--variant Standard|Fixed|Diff|Split2G|Stream]\n"
47699a0c42ead32866009e0d91bfb349490feaf9vboxsync "VBoxManage convertfromraw stdin <outputfile> <bytes>\n"
47699a0c42ead32866009e0d91bfb349490feaf9vboxsync " [--format VDI|VMDK|VHD]\n"
47699a0c42ead32866009e0d91bfb349490feaf9vboxsync " [--variant Standard|Fixed|Diff|Split2G|Stream]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf("VBoxManage addiscsidisk -server <name>|<ip>\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " -target <target>\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-port <port>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-lun <lun>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-encodedlun <lun>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-username <username>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-password <password>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-comment <comment>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-intnet]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf("VBoxManage getextradata global|<uuid>|<name>\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " <key>|enumerate\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf("VBoxManage setextradata global|<uuid>|<name>\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [<value>] (no value deletes key)\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf("VBoxManage setproperty hdfolder default|<folder> |\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " machinefolder default|<folder> |\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " vrdpauthlibrary default|<library> |\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " websrvauthlibrary default|null|<library> |\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " hwvirtexenabled yes|no\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " loghistorycount <value>\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " -target <uuid>|<name>|global\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " -name <string>\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " -action ignore|hold (global filters only)\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-active yes|no] (yes)\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-vendorid <XXXX>] (null)\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-productid <XXXX>] (null)\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-revision <IIFF>] (null)\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-manufacturer <string>] (null)\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-product <string>] (null)\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-remote yes|no] (null, VM filters only)\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-serialnumber <string>] (null)\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-maskedinterfaces <XXXXXXXX>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf("VBoxManage usbfilter modify <index,0-N>\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " -target <uuid>|<name>|global\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-name <string>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-action ignore|hold] (global filters only)\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-active yes|no]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-vendorid <XXXX>|\"\"]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-productid <XXXX>|\"\"]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-revision <IIFF>|\"\"]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-manufacturer <string>|\"\"]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-product <string>|\"\"]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-remote yes|no] (null, VM filters only)\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-serialnumber <string>|\"\"]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-maskedinterfaces <XXXXXXXX>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf("VBoxManage usbfilter remove <index,0-N>\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " -target <uuid>|<name>|global\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf("VBoxManage sharedfolder add <vmname>|<uuid>\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " -name <name> -hostpath <hostpath>\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-transient] [-readonly]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf("VBoxManage sharedfolder remove <vmname>|<uuid>\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " -name <name> [-transient]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf("VBoxManage vmstatistics <vmname>|<uuid> [-reset]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-pattern <pattern>] [-descriptions]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync#endif /* VBOX_WITH_GUEST_PROPS defined */
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync RTPrintf("VBoxManage metrics list [*|host|<vmname> [<metric_list>]] (comma-separated)\n\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync "VBoxManage metrics setup\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-period <seconds>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-samples <count>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-list]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [*|host|<vmname> [<metric_list>]]\n\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync "VBoxManage metrics query [*|host|<vmname> [<metric_list>]]\n\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync "VBoxManage metrics collect\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-period <seconds>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-samples <count>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-list]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [-detach]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync " [*|host|<vmname> [<metric_list>]]\n"
ec9dc23c50665e8603e1be5a9b6b6fd4c4d949d4vboxsync#if !defined(RT_OS_WINDOWS) || defined(VBOX_WITH_NETFLT)
d1fcf24d24368926be13484524a9e378070a9157vboxsync RTPrintf("VBoxManage hostonlyif ipconfig <name> \n"
d1fcf24d24368926be13484524a9e378070a9157vboxsync " [-dhcp| \n"
d1fcf24d24368926be13484524a9e378070a9157vboxsync " -ip<ipv4> [-netmask<ipv4> (default is 255.255.255.0)]| \n"
d1fcf24d24368926be13484524a9e378070a9157vboxsync " -ipv6<ipv6> [-netmasklengthv6<length> (default is 64)]]\n"
410216171f7f7033678589acb6e342303978c918vboxsync " create |\n"
ec9dc23c50665e8603e1be5a9b6b6fd4c4d949d4vboxsync " remove <name>\n"
d1fcf24d24368926be13484524a9e378070a9157vboxsync#if !defined(RT_OS_WINDOWS) || defined(VBOX_WITH_NETFLT)
b0e4c86da01d9a0941097b9576925ee5bafae0b4vboxsync RTPrintf("VBoxManage dhcpserver [add | modify] [-netname <network_name> | -ifname <hostonly_if_name>]\n"
d1fcf24d24368926be13484524a9e378070a9157vboxsync " [-ip <ip_address>\n"
d1fcf24d24368926be13484524a9e378070a9157vboxsync " -netmask <network_mask>\n"
d1fcf24d24368926be13484524a9e378070a9157vboxsync " -lowerip <lower_ip>\n"
d1fcf24d24368926be13484524a9e378070a9157vboxsync " -upperip <upper_ip>]\n"
d1fcf24d24368926be13484524a9e378070a9157vboxsync " [-enable | -disable]\n"
d1fcf24d24368926be13484524a9e378070a9157vboxsync " remove [-netname <network_name> | -ifname <hostonly_if_name>]\n"
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync * Print a usage synopsis and the syntax error message.
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsyncint errorSyntax(USAGECATEGORY u64Cmd, const char *pszFormat, ...)
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync#endif /* !VBOX_ONLY_DOCS */
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync * Print an error message without the syntax stuff.
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync * Print out progress on the console
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync while (SUCCEEDED(progress->COMGETTER(Completed(&fCompleted))))
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync /* did we cross a 10% mark? */
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync /* make sure to also print out missed steps */
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync for (LONG curVal = (lastPercent / 10) * 10 + 10; curVal <= (currentPercent / 10) * 10; curVal += 10)
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync /* make sure the loop is not too tight */
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync /* complete the line. */
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync if (SUCCEEDED(progress->COMGETTER(ResultCode)(&rc)))
2711c80499bbd95e3da4a6cd2dffd9f81a5dce98vboxsync#endif /* !VBOX_ONLY_DOCS */