Hyper-V虚拟机基本配置(虚拟机开机自启动)

1.管理员权限打开powershell

2.配置命令

查看虚拟机基本信息 Get-VM–VMname *
查看虚拟机指定属性 Get-VM–VMname * | Select-Object VMname,AutomaticStartAction
设置虚拟机自动启动 Get-VM–VMname {虚拟机名} | Set-VM –AutomaticStartAction Start
设置虚拟机延迟启动(s) Get-VM–VMname {虚拟机名} | Set-VM –AutomaticStartDelay 120
posted @ 2020-03-05 14:31  harmful  阅读(6023)  评论(0编辑  收藏  举报