Hyper-V

PowerShell: Hyper-V mit Powershell unter Windows 10 installieren

Ich muss immer wieder mal Hyper-V auf neuen Clients installieren. Die Installation geht am einfachsten und schnellsten mit Powershell. Deshalb hier eine kurze und schnelle Anleitung.

  • Powershell als Administrator starten
  • Abfragen, ob Hyper-V schon installiert ist
    • Get-WindowsOptionalFeature -Online -FeatureName *hyper-v* | Select DisplayName, FeatureName, State
  • Hyper-V installieren mit allen Tools
    • Enable-WindowsOptionalFeature -Online -FeatureName:Microsoft-Hyper-V -All

Links:
https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v
https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/get-started/install-the-hyper-v-role-on-windows-server

Spread the love