Open faustinopalma opened 2 months ago
The documentation links to an old post which, unfortunately, reports commands that no longer work.
The post is: https://techcommunity.microsoft.com/t5/itops-talk-blog/how-to-setup-nested-virtualization-for-azure-vm-vhd/ba-p/1115338
The first command reported in the post does no longer work and it gives an error as follows:
PS C:\Users\fausto> Install-WindowsFeature -Name DHCP,Hyper-V –IncludeManagementTools >> Success Restart Needed Exit Code Feature Result ------- -------------- --------- -------------- False Maybe Failed {} Install-WindowsFeature : A prerequisite check for the Hyper-V feature failed. 1. Hyper-V cannot be installed because virtualization support is not enabled in the BIOS. At line:1 char:1 + Install-WindowsFeature -Name DHCP,Hyper-V –IncludeManagementTools + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (Hyper-V:ServerComponentWrapper) [Install-WindowsFeature], Exception + FullyQualifiedErrorId : Alteration_PrerequisiteCheck_Failed,Microsoft.Windows.ServerManager.Commands.AddWindowsF eatureCommand
The following command instead works: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All -Verbose
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All -Verbose
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
to be precise, before running the commands in the post, it is needed to run the command: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All -Verbose
The documentation links to an old post which, unfortunately, reports commands that no longer work.
The post is: https://techcommunity.microsoft.com/t5/itops-talk-blog/how-to-setup-nested-virtualization-for-azure-vm-vhd/ba-p/1115338
The first command reported in the post does no longer work and it gives an error as follows:
The following command instead works:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All -Verbose
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.