VBoxManage

April 16th, 2009 by usage | Filed under Linux/Unix, Mac OS, Operating Systems, Windows

VirtualBox command line usage

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
VBoxManage [-v|-version]    print version number and exit
VBoxManage -nologo ...      suppress the logo
 
VBoxManage -convertSettings ...        allow to auto-convert settings files
VBoxManage -convertSettingsBackup ...  allow to auto-convert settings files
but create backup copies before
VBoxManage -convertSettingsIgnore ...  allow to auto-convert settings files
but don't explicitly save the results
 
VBoxManage list             vms|runningvms|ostypes|hostdvds|hostfloppies|
hostifs|hostinfo|hddbackends|hdds|dvds|floppies|
usbhost|usbfilters|systemproperties
 
VBoxManage showvminfo       |
[-details]
[-statistics]
[-machinereadable]
 
VBoxManage registervm      
 
VBoxManage unregistervm     |
[-delete]
 
VBoxManage createvm         -name
[-ostype ]
[-register]
[-basefolder  | -settingsfile ]
[-uuid ]
 
VBoxManage modifyvm        
[-name ]
[-ostype ]
[-memory ]
[-vram ]
[-acpi on|off]
[-ioapic on|off]
[-pae on|off]
[-hwvirtex on|off|default]
[-nestedpaging on|off]
[-vtxvpid on|off]
[-monitorcount ]
[-accelerate3d ]
[-bioslogofadein on|off]
[-bioslogofadeout on|off]
[-bioslogodisplaytime ]
[-bioslogoimagepath ]
[-biosbootmenu disabled|menuonly|messageandmenu]
[-biossystemtimeoffset ]
[-biospxedebug on|off]
[-boot none|floppy|dvd|disk|net>]
[-hd<a> none||]
[-idecontroller PIIX3|PIIX4]
[-sata on|off]
[-sataportcount ]
[-sataport none||]
[-sataideemulation ]
[-dvd none|||host:]
[-dvdpassthrough on|off]
[-floppy disabled|empty||
|host:]
[-nic none|null|nat|hostif|intnet]
[-nictype Am79C970A|Am79C973|82540EM|82543GC]
[-cableconnected on|off]
[-nictrace on|off]
[-nictracefile ]
[-nicspeed ]
[-hostifdev none|]
[-intnet ]
[-natnet |default]
[-macaddress auto|]
[-uart off|<I> ]
[-uartmode disconnected|
server |
client |
]
[-gueststatisticsinterval ]
[-audio none|null|coreaudio]
[-audiocontroller ac97|sb16]
[-clipboard disabled|hosttoguest|guesttohost|
bidirectional]
[-vrdp on|off]
[-vrdpport default|]
[-vrdpaddress ]
[-vrdpauthtype null|external|guest]
[-vrdpmulticon on|off]
[-vrdpreusecon on|off]
[-usb on|off]
[-usbehci on|off]
[-snapshotfolder default|]
 
VBoxManage startvm          |
[-type gui|vrdp]
 
VBoxManage controlvm        |
pause|resume|reset|poweroff|savestate|
acpipowerbutton|acpisleepbutton|
keyboardputscancode  [ ...]|
injectnmi|
setlinkstate on|off |
usbattach |<address> |
usbdetach |<address> |
dvdattach none|||host: |
floppyattach none|||host: |
vrdp on|off] |
setvideomodehint    [display]|
setcredentials  
[-allowlocallogon ]
 
VBoxManage discardstate     |
 
VBoxManage adoptstate       |
 
VBoxManage snapshot         |
take  [-desc ] |
discard | |
discardcurrent -state|-all |
edit ||-current
[-newname ]
[-newdesc ] |
showvminfo |
 
VBoxManage openmedium       disk|dvd|floppy
[-type normal|immutable|writethrough] (disk only)
 
VBoxManage closemedium      disk|dvd|floppy |
 
VBoxManage showhdinfo       |
 
VBoxManage createhd         -filename
-size
[-format VDI|VMDK|VHD]
[-static]
[-comment ]
[-register]
[-type normal|writethrough] (default: normal)
 
VBoxManage modifyhd         |
settype normal|writethrough|immutable |
compact
 
VBoxManage clonehd          |
[-format VDI|VMDK|VHD|RAW|]
[-remember]
 
VBoxManage convertfromraw   [-static] [-format VDI|VMDK|VHD]
  
VBoxManage convertfromraw   [-static] [-format VDI|VMDK|VHD]
stdin 
 
VBoxManage addiscsidisk     -server |
-target
[-port ]
[-lun ]
[-encodedlun ]
[-username ]
[-password ]
[-comment ]
[-intnet]
 
VBoxManage getextradata     global||
|enumerate
 
VBoxManage setextradata     global||
 
[] (no value deletes key)
 
VBoxManage setproperty      hdfolder default| |
machinefolder default| |
vrdpauthlibrary default| |
websrvauthlibrary default|null| |
hwvirtexenabled yes|no
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
[-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 ]
 
VBoxManage metrics          list [*|host| []] (comma-separated)
 
VBoxManage metrics          setup
[-period ]
[-samples ]
[-list]
[*|host| []]
 
VBoxManage metrics          query [*|host| []]
 
VBoxManage metrics          collect
[-period ]
[-samples ]
[-list]
[-detach]
[*|host| []]

Related

tag_iconTags: | | | |

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a comment.

To leave a comment, please fill in the fields below.