Hyper-V
Jump to navigation
Jump to search
Enable/Install Hyper-V
Installing Hyper-V Role using ServerManagerCMD.exe
ServerManagerCMD.exe –query - servermanagercmd.exe -install Hyper-V
Installing Hyper-V Role using PowerShell
Import-Module servermanager Add-WindowsFeature Hyper-V
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V –All Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
Installing Hyper-V Role using OCSetup (Packet Manager)
Start /w ocsetup Microsoft-Hyper-V
Enable and Disable Hyper-V using DISM Command at elevated cmd prompt
dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All