Silence unnecessary console output

This commit is contained in:
Manuel Thalmann 2023-07-19 23:19:05 +02:00
parent 6ae6755957
commit 62224f1ab0
6 changed files with 7 additions and 7 deletions

View file

@ -10,7 +10,7 @@ if (-not ("OpenQA.Selenium.Firefox.FirefoxDriver" -as [type])) {
[byte[]]$bytes = $stream.ToArray();
$reader.Close();
$zipFile.Dispose();
[System.Reflection.Assembly]::Load($bytes);
$null = [System.Reflection.Assembly]::Load($bytes);
}
}

View file

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