fix: suppress Test-NetConnection progress bar noise (\Continue = SilentlyContinue)
This commit is contained in:
@@ -70,6 +70,7 @@ param(
|
||||
|
||||
Set-StrictMode -Version Latest
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$ProgressPreference = 'SilentlyContinue' # suppress Write-Progress (Test-NetConnection, IWR, etc.)
|
||||
|
||||
Import-Module (Join-Path $PSScriptRoot '_Common.psm1') -Force
|
||||
Resolve-VmrunPath -VmrunPath $VmrunPath | Out-Null
|
||||
@@ -243,4 +244,4 @@ if ($Iterations -gt 1) {
|
||||
|
||||
Write-Host ""
|
||||
Write-Host "Results appended to: $benchmarkLog"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user