How to Add or Remove Hyper-V on Windows 11 or 10 using PowerShell?
Commands:-
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
To quickly add or remove Hyper-V on Windows 11 or 10, first, click on the Start button and type PowerShell.
In the search results, right-click on the Windows PowerShell entry and select Run as administrator.
Then copy and paste
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
and press Enter on the keyboard.
This will enable the Hyper-V on your Windows machine.
If you want to disable the Hyper-V quickly, you need to enter the following command:-
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
My Channel: @gearupwindows
#gearupwindows #windows #windows11 #windows10 #hyper #hypervision