Enable-nested Vm.ps1 Download ((better)) May 2026
Intel VT-x or AMD-V support must be enabled in the physical BIOS/UEFI. Steps After Running the Script
Automatically handles VMs in a "Saved" or "Running" state by prompting for a shutdown. Prerequisites for Nested Virtualization
Unlocks the hardware-level features (VT-x/AMD-V) for the guest VM. enable-nested vm.ps1 download
You can download the script directly from the official repository. Download Command: powershell
Must be a modern version of Windows or supported Linux distros. Generally requires Generation 2 virtual machines. RAM At least 4GB is highly recommended for the host VM. Processor Intel VT-x or AMD-V support must be enabled
Invoke-WebRequest "https://raw.githubusercontent.com/Microsoft/Virtualization-Documentation/master/hyperv-tools/Nested/Enable-NestedVm.ps1" -OutFile "$home\Enable-NestedVm.ps1" Use code with caution. powershell .\Enable-NestedVm.ps1 -VmName "YourVMName" Use code with caution. Why Use the Script?
Necessary for the nested "guest of a guest" to have network connectivity. You can download the script directly from the
Manually enabling nesting requires several precise changes that the script handles automatically: