disabling hyper v code example Example: how to Disable Hyper-V Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor