fix: suppress Test-NetConnection progress bar noise (\Continue = SilentlyContinue)

This commit is contained in:
Simone
2026-05-11 20:52:22 +02:00
parent 143b00efc7
commit 2693c9dc42
7 changed files with 8 additions and 1 deletions
+2 -1
View File
@@ -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"
+1
View File
@@ -87,6 +87,7 @@ param(
Set-StrictMode -Version Latest
$ErrorActionPreference = 'Stop'
$ProgressPreference = 'SilentlyContinue' # suppress Write-Progress (Test-NetConnection, IWR, etc.)
if (-not (Test-Path $VmrunPath -PathType Leaf)) {
throw "vmrun.exe not found at: $VmrunPath"
+1
View File
@@ -19,6 +19,7 @@
#>
Set-StrictMode -Version Latest
$ErrorActionPreference = 'Stop'
$ProgressPreference = 'SilentlyContinue' # suppress Write-Progress (Test-NetConnection, IWR, etc.)
function Invoke-SshCommand {
<#