Enabling and Disabling Hyper-V in Powershell
I sometimes find myself having to disable Hyper-V in Windows 10 temporarily in order to run some other virtualization software like VirtualBox. While it is possible to enable and disable Hyper-V in Window Features, I find it a lot more convenient running a Powershell command to enable and disable it.
Open an elevated Powershell window. You can do this by searching for Windows Powershell in the search menu, right-clicking it and selecting Run as administrator
Run the following commands to enable/disable Hyper-V:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V –All
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
Restart your computer for the changes to take effect.
I hope you found this article useful. Please contact me if you have any questions or suggestions.
Like what you read?
If you liked what you just read and found it useful, please consider buying me a coffee as a token of your support. It brings a warm fuzzy feeling inside!Buy me a coffee