9 lines
225 B
PowerShell
9 lines
225 B
PowerShell
foreach ($module in @("PSWindowsUpdate", "KnownFolders"))
|
|
{
|
|
if (-not (Get-Module -ListAvailable $module))
|
|
{
|
|
Install-Module -AcceptLicense -Force "$module";
|
|
}
|
|
}
|
|
|
|
$Global:InformationPreference = "Continue";
|