PortValhalla/profiles/KVM/Windows/Install.ps1

18 lines
465 B
PowerShell
Raw Normal View History

2023-12-11 11:48:19 +00:00
#!/bin/pwsh
function Initialize-Configuration {
# Hide update which prevents use of WSL in KVM
2023-12-11 12:31:47 +00:00
Get-WindowsUpdate -KBArticleID KB5032190 -Hide -AcceptAll;
2024-01-09 01:09:11 +00:00
Get-WindowsUpdate -KBArticleID KB5032190 -Hide -AcceptAll;
2023-12-11 11:48:19 +00:00
}
function Install-PortValhallaDrivers {
param(
[Context] $context
)
choco install -y --params "'ALLUSERS=1'" qemu-guest-agent;
2023-12-12 02:04:06 +00:00
choco install -y spice-agent;
}
2023-12-11 11:48:19 +00:00
. "$PSScriptRoot/../../Generic/Windows/Install.ps1";