How to Enable Hyper-V using PowerShell

This article will explore how PowerShell can enable Microsoft’s Hyper-V program, a popular tool for creating and managing virtual systems on Windows 10 or 11.

Powershell ile Hyper-V Etkinleştirme

How to Install Hyper-V using PowerShell on a PC

Microsoft offers Hyper-V virtualization software as a free integrated feature with Windows 8.x/10/11 operating systems. This software allows users to run multiple virtual machines or servers on their host computer.

If your PC supports virtualization, installing the Hyper-V Client software is straightforward. In an earlier article, we explained the building and execution of it on Windows 10 using the graphical user interface (GUI). You can easily install it by accessing that article through this link.

Under normal circumstances, one can install any program on a Windows operating system relatively fast and easily. Use command prompts such as CMD or PowerShell to speed up these processes.

Suppose you are a system admin of a company. In that case, you should know PowerShell, a great tool from Microsoft. With this Microsoft tool, you can enable or disable the Hyper-V.

You can easily install Microsoft’s VM software on your computer if you have Win 10 Enterprise, Professional, or Education.

Before proceeding with the installation steps, you should remember that the Home version of Windows 10 does not support this software under normal circumstances, regardless of the build number. However, various installation methods are available even if you have a system with the Home version.

Run the PowerShell tool as an administrator for enabling or removing the program, and try one of the methods below:

  1. Enable: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
  2. Disable: Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All

Note: When removing HyperV, ensure that “Microsoft-Hyper-V-All” is contiguous in the terminal!

Enabling Hyper-V

Enabling Hyper-V may be simple, but it may take some work for novice users. The following photos will guide you through installing the required applications on your PC.

Step 1

Type “Windows PowerShell” or “PowerShell” into the Win Start menu’s search box to run PowerShell. Choose the desired terminal and click the context menu’s “Run as administrator” option.

PowerShell'i Yönetici Olarak Çalıştırma

Step 2

In the command prompt opened with administrator privileges, type or copy-paste 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 Microsoft’s Client Hyper-V application on your Win operating system is in progress. Please wait.

Hyper-V Etkinleştiriliyor

Step 4

After enabling the HyperV feature, press Y (Yes) to apply the changes. Then, restart your machine to complete the process.

Bilgisayarı Yeniden Başlatma

Step 5

After restarting your computer, find HyperV Manager in the search menu similarly and run it.

Hyper-V Manager'ı Çalıştırma

Step 6

The image below shows the first app interface you will encounter when running Hyper-V Manager.

Hyper-V Programının Arayüzü



You can use a PowerShell terminal to configure Hyper-V quickly and many other features or programs on your system. You can now construct a new virtual machine on your PC and try installing whatever operating system you like now that you’ve enabled HyperV. Also, you may discover more about HyperV and its features by visiting Microsoft’s sites.

Related Articles

How to Enable Hyper-V Feature with CMD
How to Install a New Virtual Machine with HyperV
How to Install Windows 10 with HyperV
How to Install Windows 7 with HyperV
How to Install Windows 8 with HyperV

Add a Comment

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