PortValhalla/scripts/Windows/Scripts/Prerequisites.ps1

7 lines
165 B
PowerShell

foreach ($module in @("PSWindowsUpdate", "KnownFolders"))
{
if (-not (Get-Module $module))
{
Install-Module -AcceptLicense -Force "$module";
}
}