Install-WindowsFeature –Name Hyper-V –ComputerName Sifad-Server –IncludeManagementTools –Restart The Hyper-V role can be installed via Server Manager or through two PowerShell commands as below: Get-VMNetworkAdapter -VMName “DC SERVER=WIN 2016” | Set-VMNetworkAdapter -MacAddressSpoofing onĨ – At this point, the VM is enabled to run Hyper-V. Set-VMProcessor -VMName “DC SERVER=WIN 2016” -ExposeVirtualizationExtensions $trueħ – Now, let’s enable the MAC address spoofing, with the following command: The command must be run in Windows PowerShell with administrative privileges: 4 – Select the Hyper-V role, this will popup a box “Add features that are required for Hyper-V” Make sure include management tools is turned on and select Add Featuresĥ – I will show the error that occurs when you try to install the Hyper-V role on a VM without the n ested virtualization feature enabled:Ħ – With the VM off, we execute the command to enable virtualization extensions, in the VM that will run the Hyper-V, inside the VM host.