windows enable Hyper-V code example
Example 1: how to disable hyper-v in windows 10 using command prompt
bcdedit /set hypervisorlaunchtype off
Example 2: hyper-v enable
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
bcdedit /set hypervisorlaunchtype off
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All