how to access hyper v in windows 10 code example Example: hyper-v enable Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All