返回

VirtualBox启动和关闭虚拟机命令

   
摘要GPT
摘要小助理暂时失联跑路啦……😜

查看virtualbox正在运行的虚拟机

VBoxManage list runningvms

后台开启虚拟机

VBoxManage startvm 虚拟机名字 --type headless

后台关闭虚拟机

VBoxManage controlvm 虚拟机名字 acpipowerbutton

Windows开机自动启动

制作bat脚本

@ECHO OFF
start VBoxManage startvm 虚拟机名字 --type headless
start VBoxManage startvm 虚拟机名字2 --type headless
...
EXIT

将bat拖进下面的目录

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
知识共享许可证 CC BY-NC-SA 4.0
最后更新于 2024-07-17 18:28
使用 Hugo 构建
主题 hugo-magic小洋葱 魔改 由 Jimmy 设计
Written by Human, Not by AI