Created
January 24, 2022 13:52
-
-
Save mcc85s/dbf504d716ab5e7ab952adb6f576dda9 to your computer and use it in GitHub Desktop.
# [Install Hyper-V Manager on Windows 10 Home]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# [Install Hyper-V Manager on Windows 10 Home] | |
$OS = Get-CimInstance Win32_OperatingSystem | |
If ($OS.Caption -match "Home") | |
{ | |
Get-ChildItem $Env:SystemRoot\servicing\Packages\*Hyper-V*.mum | % { | |
dism /online /norestart /add-package:"$($_.FullName)" | |
} | |
dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /All | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment