PowerTip: Use PowerShell to Add Hyper-V to Windows 8.1 Laptop

Summary: Learn how to use Windows PowerShell to add optional features to your laptop running Windows 8.1.

Hey, Scripting Guy! Question How can I use Windows PowerShell to install Hyper-V on my laptop running Windows 8.1?

Hey, Scripting Guy! Answer Use the Add-WindowsOptionalFeature cmdlet, and choose the –Online option.
          The feature name is case sensitive, and must be typed exactly, for example:

Enable-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V-All -Online -All -NoRestart

Comments (6)

  1. Bobby says:

    Knowledge which I find very long, but now I have learned from your answer, I appreciate it.
    also surf my blog : รับจำนำโน๊ตบุ๊ค http://www.jumnotebook.com

  2. David says:

    yeah, i keep getting an error

  3. Mohamed Musthaque says:

    I am using Windows 8.1 Single Language OS.
    I tried " enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All " this code in PowerShell. And also I tried " Dism /online /enable-feature /featurename:Microsoft-Hyper-V –All " this code in Command Prompt. But I couldn’t able to turn it
    on. My Intel Virtualization also turned on.
    How Can Enable Hyper-V….?
    Please help me.

Skip to main content