mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-24 15:49:02 +01:00
Fix check-ping.ps1
This commit is contained in:
parent
5e1daeea5d
commit
4cd9a5a4e2
@ -17,7 +17,7 @@ try {
|
||||
if ($IsLinux) {
|
||||
[int]$Latency = $Ping.latency
|
||||
} else {
|
||||
[int]$Latency = $Ping.time
|
||||
[int]$Latency = $Ping.ResponseTime
|
||||
}
|
||||
if ($Latency -lt $Min) { $Min = $Latency }
|
||||
if ($Latency -gt $Max) { $Max = $Latency }
|
||||
|
Loading…
Reference in New Issue
Block a user