How To Enable HyperV On Windows10 Using PowerShell?

1 Min. Read

Hello folks,

Since Microsoft released Windows 10 on July 29th, 2015. People online are very excited about it.

So what is the number one feature you want to enable after you install Windows 10?

Hyper-V of course Winking smile

In today’s blog post, I will show you how to enable Hyper-V on Windows 10 using PowerShell.

First we will check the Hyper-V state by running Get-WindowsOptionalFeature cmdlet.

Get-WindowsOptionalFeature -Online | Where FeatureName -like "*Hyper*" | ft -a


The state is Disabled. Next, we will enable the Hyper-V feature using Enable-WindowsOptionalFeature

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All -All -Verbose


Reboot the computer and confirm that Hyper-V is enabled successfully.

Get-WindowsOptionalFeature -Online | Where FeatureName -like "*Hyper*" | ft -a


One important point to mention is, with Windows 10 you can now use Hyper-V manager or PowerShell to manage down-level versions of Hyper-V. With Hyper-V manager in Windows 10, you can manage computers running Hyper-V on Windows Server 2012, Windows 8, Windows Server 2012 R2 and Windows 8.1. The Hyper-V PowerShell module in Windows 10 shipped with two modules (V2.0 for server 2016 and V1.1 for server 2012 / R2). 


You can upgrade your management machine today to Windows 10 and start managing your existing Hyper-V hosts. 

Sure enough you can enable Hyper-V using Windows Features in Control Panel as well.


There are a lot of great new features in Hyper-V in Windows 10 such as PowerShell Direct, Production Checkpoints, Hot add and remove for network adapters and memory and more… You can read all about it here.




Skill Up Results – PacktPublishing @PacktPub

Windows 10 FAQ #Windows10


Let me know what you think, or ask a question...

The content of this website is copyrighted from being plagiarized!

You can copy from the 'Code Blocks' in 'Black' by selecting the Code.

Please send your feedback to the author using this form for any 'Code' you like.

Thank you for visiting!