Skip to content

Instantly share code, notes, and snippets.

@Majid03
Forked from Ashwinning/EnableDisableHyperV.md
Created July 15, 2017 18:13
Show Gist options
  • Save Majid03/85cb6a20a9a3d1b8b4810ac2b502e7dc to your computer and use it in GitHub Desktop.
Save Majid03/85cb6a20a9a3d1b8b4810ac2b502e7dc to your computer and use it in GitHub Desktop.
Powershell scripts to enable disable Hyper-V.

Open Powershell as admin

To Enable

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

To Disable

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

More info : http://www.poweronplatforms.com/enable-hyper-v/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment