How To Enable #HyperV On #Windows10 Using #PowerShell?

| ,

Published on | Updated on August 10, 2015

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

Enable-HyperV-W10-01

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

Enable-HyperV-W10-02

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

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

Enable-HyperV-W10-04

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). 

Enable-HyperV-W10-06

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.

Enable-HyperV-W10-03

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.

Enjoy!

Cheers,
~Charbel

Previous

Skill Up Results – #PacktPublishing @PacktPub

Windows 10 FAQ #Windows10

Next

Leave a comment below...

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe to Charbel Nemnom’s Blog

Get the latest posts delivered right to your inbox

The content of this website is copyrighted... please contact the author first. Thank you for visiting!