mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-13 14:37:19 +02:00
Improve the scripts
This commit is contained in:
@ -25,7 +25,7 @@ try {
|
||||
}
|
||||
$Avg = $Avg / $Pings.count
|
||||
|
||||
write-host -foregroundColor green "✔️ $Avg ms average ping latency ($Min ms min, $Max ms max)"
|
||||
"✔️ $Avg ms average ping latency ($Min ms min, $Max ms max)"
|
||||
exit 0
|
||||
} catch {
|
||||
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Reference in New Issue
Block a user