Skip to content

Instantly share code, notes, and snippets.

@impmja
Created May 3, 2020 16:40
Show Gist options
  • Save impmja/488877262596f1625bd15b6ff27a2b46 to your computer and use it in GitHub Desktop.
Save impmja/488877262596f1625bd15b6ff27a2b46 to your computer and use it in GitHub Desktop.
How to enable/disable Hyper-V on Windows

Enable / Disable Hyper-V on Windows

Use Powershell

Enable

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

Disable

$ Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment