How to Enable Hyper-V using Powershell

You can also install the Hyper-V virtualization program that comes with the Microsoft Windows 10 operating system with the Powershell command prompt.

How to Enable Hyper-V using Powershell

How to Install Hyper-V using Powershell

You can enable or disable Hyper-V with Powershell on your computer. If you have Windows 10 Enterprise, Professional, or Education, you can easily install Hyper-V on your computer.

Windows 10 Home does not support Hyper-V installation.

In our previous article, we installed Hyper-V on the Windows 10 user interface (GUI);

In this article, we will activate HyperV on Windows 10 using Powershell.

To enable Hyper-V, perform the following command;

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

 
To remove Hyper-V, perform the following command;

Disable-WindowsOptionalFeature –Online –FeatureName Microsoft-Hyper-V–All

 
NOTE: When uninstalling Hyper-V, make sure that the “Microsoft-Hyper-V–All” command is contiguous!

How to Enable Hyper-V

Before enabling Hyper-V, make sure your processor supports virtualization. Then follow the steps below to install Hyper-V with Powershell.

   Step 1

Click Windows Start Menu ve and type Powershell in the search field and run Windows Powershell as administrator.

Running PowerShell as an Administrator

   Step 2

After opening the command prompt, perform the following command to enable Hyper-V.

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

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

   Step 3

Installing Hyper-V on Windows …

Enabling Hyper-V

   Step 4

After enabling Hyper-V, press Y (Yes) and then press Enter to restart your computer.

Restarting the Computer

   Step 5

After your computer is turned on, run Hyper-V Manager.

Running Hyper-V Manager

   Step 6

Hyper-V Manager is now ready to use!

Hyper-V Interface

How to Activate Hyper-V Step by Step ⇒ Video

To install HyperV using Powershell on Windows 10, you can watch the video below and also subscribe to our YouTube channel to support us!

   Final Word


In this article, we have examined how to activate HyperV with Powershell. Thanks for following us!

   Related Articles


♦ CMD and Hyper-V
How to Create a New VM with Hyper-V
How to Install Windows 10 with Hyper-V
♦ How to Install Windows 7 with Hyper-V
♦ How to Install Windows 8 with Hyper-V

Add a Comment

Your email address will not be published. Required fields are marked *

shares
error: