Reputation: 171
I tried this command:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
But, it will give me this feedback message:
'Enable-WindowsOptionalFeature' is not recognized as an internal or external command,
operable program or batch file.
Upvotes: 2
Views: 6915
Reputation: 1044
I think you have already found the answer, but I write it for next generation) Just run powershell console as Administrator. I am not archaeologist, I was just looking for string for enabling hyper-v.
Upvotes: 1
Reputation: 190
Try DISM instead:
DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V
See more installation information here.
Upvotes: 4