Skip to content

Instantly share code, notes, and snippets.

@kriskornel
Forked from Ashwinning/EnableDisableHyperV.md
Created February 4, 2018 22:53
Show Gist options
  • Save kriskornel/ba36733c1a286c92919aabe4f578f83c to your computer and use it in GitHub Desktop.
Save kriskornel/ba36733c1a286c92919aabe4f578f83c 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