windows 10 turn on hyper v code example Example: hyper-v enable Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All