Created
December 11, 2012 03:26
-
-
Save mike-zhang/4255695 to your computer and use it in GitHub Desktop.
实现vBox虚拟机启动和休眠
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
启动: | |
VBoxManage startvm CentOS6.3_64 -type vrdp | |
vbs代码: | |
Set ws = CreateObject("Wscript.Shell") | |
ws.run "cmd /c VBoxManage startvm CentOS6.3_64 -type vrdp",vbhide | |
休眠: | |
VBoxManage controlvm CentOS6.3_64 savestate | |
vbs代码: | |
Set ws = CreateObject("Wscript.Shell") | |
ws.run "cmd /c VBoxManage controlvm CentOS6.3_64 savestate",vbhide | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment