如何在Windows 10中的Azure VM中通过Powershell启用Hyper-V

问题描述 投票:0回答:1

我需要在Azure VM的Windows 10中使用Powershell启用Hyper-V Windows功能。

我知道微软有一篇文章-

How to enable nested virtualization in an Azure VM

但问题在于

  • 不再有效
  • 尽管遇到了麻烦,但我无法再次使用它

我解决了类似错误,

  • 术语'install-windowsfeature'未被识别为cmdlet函数脚本文件的名称
  • 指定的cmdlet的目标不能是基于Windows客户端的操作系统。

现在我在:

enter image description hereenter image description here

请帮助。

azure powershell azure-virtual-machine hyper-v
1个回答
0
投票

终于成功了-

Enable-WindowsOptionalFeature -Online -FeatureName HypervisorPlatform -All

© www.soinside.com 2019 - 2024. All rights reserved.