TOP

VirtualBoxをヘッドレス起動するVBスクリプト

2017-04-17 09:40:43

起動

CreateObject("WScript.Shell").Run """c:\Program Files\Oracle\VirtualBox\VBoxHeadless.exe"" -s (Machine名)",0

停止

CreateObject("WScript.Shell").Run """c:\Program Files\Oracle\VirtualBox\VBoxManage.exe"" controlvm (Machine名) poweroff",0