PortValhalla/scripts/Windows/Scripts/Prerequisites.ps1

10 lines
225 B
PowerShell
Raw Normal View History

foreach ($module in @("PSWindowsUpdate", "KnownFolders"))
{
2023-06-22 15:22:45 +00:00
if (-not (Get-Module -ListAvailable $module))
{
Install-Module -AcceptLicense -Force "$module";
}
}
2023-06-22 15:27:43 +00:00
$Global:InformationPreference = "Continue";