Daily Shaarli

All links of one day in a single page.

July 9, 2019

How to Enable and Disable Hyper-V in Windows 10 & 8 | PowerON - IT Services

Option 2 - To Enable and Disable Hyper-V in PowerShell

  1. Open an elevated PowerShell, and do step 2 or 3 below for what you want to do.

  2. To Enable Hyper-V

A) In the elevated PowerShell window, copy and paste the command below, press Enter, and go to step 4 below. Note, If you do not use the -All switch, then you will not install the Hyper-V GUI Management Tools and Hyper-V Module for Windows PowerShell features.

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

  1. To Disable Hyper-V

A) In the elevated PowerShell window, copy and paste the command below, press Enter, and go to step 4 below.

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

  1. Type Y and press Enter when prompted to restart the computer.