Skip to content

Instantly share code, notes, and snippets.

@mcc85s
Created January 24, 2022 13:52
Show Gist options
  • Save mcc85s/dbf504d716ab5e7ab952adb6f576dda9 to your computer and use it in GitHub Desktop.
Save mcc85s/dbf504d716ab5e7ab952adb6f576dda9 to your computer and use it in GitHub Desktop.
# [Install Hyper-V Manager on Windows 10 Home]
# [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