PowerShell Commands to Install Hyper-V

Install Hyper-V using Windows PowerShellPowerShell Icon

install-windowsfeature –name hyper-v -includemanagementtools –restart

Install Hyper-V using DISM.exe, run the following command from an elevated command prompt:
dism /online /enable-feature /featurename:microsoft-hyper-v

 

 

Install the management tools with Windows PowerShell, you use the Install-Windows-Feature cmdlet, as follows:
install-windowsfeature -name rsat-hyper-v-tools

Install just the Hyper-V Manager or just the Hyper-V PowerShell module, you use one of the following commands:
install-windowsfeature -name hyper-v-tools
install-windowsfeature -name hyper-v-powershell

Author: Logan Bingham

Designing IT solutions for 20 years.

Leave a Reply