Fix non-functioning code

This commit is contained in:
Manuel Thalmann 2023-07-20 10:18:43 +02:00
parent c93558d56d
commit 3b918ca0a1

View file

@ -6,7 +6,7 @@ $null = powershell -c Get-PackageProvider -ListAvailable NuGet;
if (-not $?) { if (-not $?) {
Write-Host "Installing NuGet PackageProvider"; Write-Host "Installing NuGet PackageProvider";
powershell -c $null = Install-PackageProvider -Name NuGet -Force; powershell -c '$null = Install-PackageProvider -Name NuGet -Force';
} }
foreach ($module in @("PSWindowsUpdate", "KnownFolders")) foreach ($module in @("PSWindowsUpdate", "KnownFolders"))