VirtualBox

source: vbox/trunk/doc/manual/en_US/man_VBoxManage.xml@ 87265

Last change on this file since 87265 was 87076, checked in by vboxsync, 4 years ago

doc/manual: Use "bold" instead of "strong" consistently - our converter to LaTeX doesn't understand "strong", and there are only these occurrences left.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 10.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 manpage, user manual, usage: VBoxManage
4
5 Copyright (C) 2006-2020 Oracle Corporation
6
7 This file is part of VirtualBox Open Source Edition (OSE), as
8 available from http://www.virtualbox.org. This file is free software;
9 you can redistribute it and/or modify it under the terms of the GNU
10 General Public License (GPL) as published by the Free Software
11 Foundation, in version 2 as it comes in the "COPYING" file of the
12 VirtualBox OSE distribution. VirtualBox OSE is distributed in the
13 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
14 -->
15<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
16 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
17<!ENTITY % all.entities SYSTEM "all-entities.ent">
18%all.entities;
19]>
20<refentry id="man_vboxmanage" lang="en">
21 <refentryinfo>
22 <pubdate>August 2019</pubdate>
23 <title>VBoxManage</title>
24 </refentryinfo>
25
26 <refmeta>
27 <refentrytitle>VBoxManage</refentrytitle>
28 <manvolnum>1</manvolnum>
29 </refmeta>
30
31 <refnamediv>
32 <refname>VBoxManage</refname>
33 <refpurpose>&product-name; command-line interface</refpurpose>
34 <refclass>Oracle VM VirtualBox</refclass>
35 </refnamediv>
36
37 <refsynopsisdiv>
38 <cmdsynopsis id="synopsis-vboxmanage">
39<!-- The 'id' is mandatory and must start with 'synopsis-'. -->
40 <command>VBoxManage</command>
41 <arg>--nologo</arg>
42 <arg>--settingspw=[<replaceable>password</replaceable>]</arg>
43 <arg>--settingspwfile=<replaceable>pw-file</replaceable></arg>
44 <arg>--version</arg>
45 <arg>@<replaceable>response-file</replaceable></arg>
46 <arg><replaceable>subcommand</replaceable></arg>
47 </cmdsynopsis>
48 </refsynopsisdiv>
49
50 <refsect1>
51 <title>Description</title>
52 <para>
53 The <command>VBoxManage</command> command is the command-line
54 interface (CLI) for the &product-name; software. The CLI supports
55 all the features that are available with the &product-name;
56 graphical user interface (GUI). In addition, you can use the
57 <command>VBoxManage</command> command to manage the features of
58 the virtualization engine that cannot be managed by the GUI.
59 </para>
60 <para>
61 Each time you invoke the <command>VBoxManage</command> command,
62 only one command is executed. Note that some
63 <command>VBoxManage</command> subcommands invoke several
64 subcommands.
65 </para>
66 <para>
67 Run the <command>VBoxManage</command> command from the command
68 line of the host operating system (OS) to control &product-name;
69 software.
70 </para>
71 <para>
72 The <command>VBoxManage</command> command is stored in the
73 following locations on the host system:
74 </para>
75 <itemizedlist>
76 <listitem><para>
77 <emphasis role="bold">Linux:</emphasis>
78 <filename>/usr/bin/VBoxManage</filename>
79 </para></listitem>
80 <listitem><para>
81 <emphasis role="bold">Mac OS X:</emphasis>
82 <filename>/Applications/VirtualBox.app/Contents/MacOS/VBoxManage</filename>
83 </para></listitem>
84 <listitem><para>
85 <emphasis role="bold">Oracle Solaris:</emphasis>
86 <filename>/opt/VirtualBox/bin/VBoxManage</filename>
87 </para></listitem>
88 <listitem><para>
89 <emphasis role="bold">Windows:</emphasis>
90 <filename>C:\Program
91 Files\Oracle\VirtualBox\VBoxManage.exe</filename>
92 </para></listitem>
93 </itemizedlist>
94 <para>
95 In addition to managing virtual machines (VMs) with this CLI or
96 the GUI, you can use the <command>VBoxHeadless</command> CLI to
97 manage VMs remotely.
98 </para>
99 <para>
100 The <command>VBoxManage</command> command performs particular
101 tasks by using subcommands, such as <command>list</command>,
102 <command>createvm</command>, and <command>startvm</command>. See
103 the associated information for each <command>VBoxManage</command>
104 subcommand.
105 </para>
106 <para>
107 If required, specify the VM by its name or by its Universally
108 Unique Identifier (UUID).
109 </para>
110 <para>
111 Use the <command>VBoxManage list vms</command> command to obtain
112 information about all currently registered VMs, including the VM
113 names and associated UUIDs.
114 </para>
115 <para>
116 Note that you must enclose the entire VM name in double quotes if
117 it contains spaces.
118 </para>
119 <refsect2 id="vboxmanage-common-options">
120 <title>General Options</title>
121 <variablelist>
122 <varlistentry>
123 <term><option>--nologo</option></term>
124 <listitem><para>
125 Suppresses the output of the logo information, which is
126 useful for scripts.
127 </para></listitem>
128 </varlistentry>
129 <varlistentry>
130 <term><option>--settingspw=[<replaceable>password</replaceable>]</option></term>
131 <listitem><para>
132 Specifies the settings password. You can optionally
133 specify the password as an argument to this option. If you
134 do not specify the password in this way, the
135 <command>VBoxManage</command> command prompts you for the
136 password.
137 </para><para>
138 The settings password is a security feature that encrypts
139 stored settings, which are stored as plain text by
140 default.
141 </para><para>
142 You cannot unencrypt encrypted settings. So, if the
143 settings are encrypted, you must continue to specify the
144 <option>--settingspw</option> or
145 <option>--settingspwfile</option> option.
146 </para><para>
147 Only the iSCSI secret is encrypted at this time.
148 </para><remark>
149 This design does not conform to Oracle's security
150 guidelines. You should not be able to specify a password
151 on the command line because the password can be seen in a
152 process listing.
153 </remark></listitem>
154 </varlistentry>
155 <varlistentry>
156 <term><option>--settingspwfile=<replaceable>pw-filename</replaceable></option></term>
157 <listitem><para>
158 Specifies the file that contains the settings password.
159 </para></listitem>
160 </varlistentry>
161 <varlistentry>
162 <term><option>--version</option></term>
163 <listitem><para>
164 Shows version information about the
165 <command>VBoxManage</command> command.
166 </para><para>
167 The short version of this option is <option>-v</option>.
168 </para></listitem>
169 </varlistentry>
170 <varlistentry>
171 <term>@<replaceable>response-file</replaceable></term>
172 <listitem><para>
173 Loads arguments from the specified Bourne shell response
174 file.
175 </para></listitem>
176 </varlistentry>
177 <varlistentry>
178 <term><replaceable>subcommand</replaceable></term>
179 <listitem><para>
180 Specifies one of the <command>VBoxManage</command>
181 subcommands, such as <command>controlvm</command>,
182 <command>createvm</command>, <command>list</command>,
183 <command>modifyvm</command>,
184 <command>showvminfo</command>, <command>startvm</command>,
185 <command>storageattach</command>, and
186 <command>storagectl</command>.
187 </para><para>
188 Each subcommand is described in its own command topic,
189 some of which are shown in See Also sections.
190 </para></listitem>
191 </varlistentry>
192 </variablelist>
193 </refsect2>
194 </refsect1>
195
196 <refsect1>
197 <title>Examples</title>
198 <remark role="help-scope" condition="GLOBAL"/>
199 <para>
200 The following command creates a virtual machine called
201 <literal>Win8</literal> and registers it with &product-name; by
202 using the <option>--register</option> option.
203 </para>
204<screen>$ VBoxManage createvm --name "Win8" --register
205Virtual machine 'Win8' is created.
206UUID: <replaceable>UUID-string</replaceable>
207Settings file: '/home/<replaceable>username</replaceable>/VirtualBox VMs/Win8/Win8.vbox'</screen>
208 <para>
209 The command output shows that the <literal>Win8</literal> VM is
210 assigned a UUID and an XML machine settings file.
211 </para>
212 <para>
213 You can use the <command>VBoxManage showvminfo</command> command
214 to view the configuration information of a VM.
215 </para>
216 <para>
217 The following example uses the <command>VBoxManage
218 modifyvm</command> command to change the amount of memory for the
219 <literal>Windows XP</literal> VM to be 1024 megabytes:
220 </para>
221<screen>$ VBoxManage modifyvm "Windows XP" --memory 1024</screen>
222 <para>
223 Note that you can use the <command>VBoxManage modifyvm</command>
224 command even when the VM is powered off.
225 </para>
226 <para>
227 You can use the <command>VBoxManage storagectl</command> command
228 or the <command>VBoxManage storageattach</command> command to
229 modify the storage configuration for a VM. For example, to create
230 a SATA storage controller called <literal>sata01</literal> and add
231 it to the <literal>ol7</literal> VM:
232 </para>
233<screen>$ VBoxManage storagectl ol7 --name "sata01" --add sata</screen>
234 <para>
235 Use the <command>VBoxManage startvm</command> command to start a
236 VM that is currently powered off. For example, to start the
237 <literal>win7</literal> VM:
238 </para>
239<screen>$ VBoxManage startvm win7</screen>
240 <para>
241 Use the <command>VBoxManage controlvm</command> command to pause
242 or save a VM that is currently running. You can also use this
243 command to modify settings for the VM. For example, to enable
244 audio input for the <literal>ol6u9</literal> VM.
245 </para>
246<screen>$ VBoxManage controlvm ol6u9 audioin on</screen>
247 </refsect1>
248
249 <refsect1>
250 <title>See Also</title>
251 <para>
252 <xref linkend="vboxmanage-controlvm" />,
253 <xref linkend="vboxmanage-createvm" />,
254 <xref linkend="vboxmanage-list" />,
255 <xref linkend="vboxmanage-modifyvm" />,
256 <xref linkend="vboxmanage-showvminfo" />,
257 <xref linkend="vboxmanage-startvm" />,
258 <xref linkend="vboxmanage-storageattach" />,
259 <xref linkend="vboxmanage-storagectl" />
260 </para>
261 </refsect1>
262</refentry>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette