Updated ping-host.ps1

This commit is contained in:
Markus Fleschutz 2024-10-04 22:02:22 +02:00
parent c13e3c3dbd
commit 464e17c449

View File

@ -61,7 +61,7 @@ function WriteChartLine { param([float]$value, [float]$maxValue, [string]$text)
}
try {
& "$PSScriptRoot/write-headline.ps1" "Ping Roundtrip Times to $($hostname)"
Write-Host "`n PING ROUNDTRIP TIMES TO: $hostname" -foregroundColor green
[int]$count = 1
do {
[float]$latency = GetPingLatency $hostname