diff --git a/scripts/Windows/Scripts/Prerequisites.ps1 b/scripts/Windows/Scripts/Prerequisites.ps1 index 0d6aac5c..69261ddb 100644 --- a/scripts/Windows/Scripts/Prerequisites.ps1 +++ b/scripts/Windows/Scripts/Prerequisites.ps1 @@ -6,7 +6,7 @@ $null = powershell -c Get-PackageProvider -ListAvailable NuGet; if (-not $?) { 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"))