Installing Hyper-V on Windows 10

You can enable Hyper-V on Windows 10, only if you have a Windows 10 Pro, Enterprise, or Education edition. You can enable this feature using GUI:

  • Go to “Programs and Features”
  • Click on Turn Windows features on or off”
  • From the “Windows Features options”, select “Hyper-V”
  • And reboot your machine.

or using PowerShell with the “Enable-WindowsOptionalFeature” cmdlet:

PS > Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
Do you want to restart the computer to complete this operation now?
[Y] Yes  [N] No  [?] Help (default is "Y"):

Path :
Online : True
RestartNeeded : True

After rebooting, you can check that Hyper-V is installed with the following command:

PS > Get-Command -Module Hyper-v

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Cmdlet          Add-VMAssignableDevice                       Hyper-V
Cmdlet          Add-VMDvdDrive                               Hyper-V
Cmdlet          Add-VMFibreChannelHba                        Hyper-V
Cmdlet          Add-VMGpuPartitionAdapter                    Hyper-V
Cmdlet          Add-VMGroupMember                            Hyper-V
Cmdlet          Add-VMHardDiskDrive                          Hyper-V
Cmdlet          Add-VMHostAssignableDevice                   Hyper-V
Cmdlet          Add-VMKeyStorageDrive                        Hyper-V
Cmdlet          Add-VMMigrationNetwork                       Hyper-V
Cmdlet          Add-VMNetworkAdapter                         Hyper-V
Cmdlet          Add-VMNetworkAdapterAcl                      Hyper-V
Cmdlet          Add-VMNetworkAdapterExtendedAcl              Hyper-V
Cmdlet          Add-VMNetworkAdapterRoutingDomainMapping     Hyper-V
Cmdlet          Add-VMRemoteFx3dVideoAdapter                 Hyper-V
Cmdlet          Add-VMScsiController                         Hyper-V
Cmdlet          Add-VMStoragePath                            Hyper-V

The Hyper-v PowerShell module is loaded!


Thanks for reading! You can follow me on Twitter @PrigentNico

About Nicolas 282 Articles
I work as an IT Production Manager, based in Paris (France) with a primary focus on Microsoft technologies. I have 10 years experience in administering Windows Servers. . I am a Microsoft MVP for Cloud & Datacenter Management. I also received the PowerShell Hero 2016 award by PowerShell.0rg. And finally, I am "MCSE: Cloud Platform and Infrastructure", "MCSA: Windows Servers", "Administering & Deploying SCCM", and CheckPoint CCSA certified.