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
原文地址:https://www.cnblogs.com/harmful-chan/p/12420086.html