TASK 6
???? Objective:
Enable nested virtualization for a VM (VM1) on SRV1.
Step-by-Step Guide: Enable Nested Virtualization
✅ Step 1: Verify Requirements
Nested virtualization requires:
SRV1 to have a processor that supports Intel VT-x or AMD-V.
Hyper-V role installed on SRV1.
VM1 must be turned off.
✅ Step 2: Open PowerShell on SRV1
Log in to SRV1 with an account that has administrative privileges.
Open PowerShell as Administrator.
✅ Step 3: Enable Nested Virtualization
Set-VMProcessor -VMName "VM1" -ExposeVirtualizationExtensions $true
✅ Step 4: Verify Nested Virtualization
To confirm the change, run:
Get-VMProcessor -VMName "VM1" | Format-List ExposeVirtualizationExtensions
✅ The output should show:
ExposeVirtualizationExtensions : True
✅ Step 5: Configure Network Adapter (Optional for Nested VMs)
Set-VMNetworkAdapter -VMName "VM1" -MacAddressSpoofing On
✅ Step 6: Start the VM
Start-VM -Name "VM1"
Additional Notes
Nested virtualization allows you to run Hyper-V within a VM.
Useful for lab/test environments (e.g., running nested Hyper-V hosts in a VM).
Submit