PortValhalla/profiles/KVM/Windows/Install.ps1

18 lines
400 B
PowerShell

#!/bin/pwsh
. "$PSScriptRoot/Drivers.ps1";
function Initialize-Configuration {
# Hide update which prevents use of WSL in KVM
Get-WindowsUpdate -KBArticleID KB5032190 -Hide -AcceptAll;
}
function Install-PortValhallaDrivers {
param(
[Context] $context
)
choco install -y --params "'ALLUSERS=1'" qemu-guest-agent;
}
. "$PSScriptRoot/../../Generic/Windows/Install.ps1";