diff --git a/scripts/check-network.ps1 b/scripts/check-network.ps1 index e0451a79..abfa52f5 100755 --- a/scripts/check-network.ps1 +++ b/scripts/check-network.ps1 @@ -22,7 +22,7 @@ Write-Host "`n N E T W O R K" -foregroundColor green & "$PSScriptRoot/ping-local-devices.ps1" & "$PSScriptRoot/check-vpn.ps1" & "$PSScriptRoot/list-internet-ip.ps1" -& "$PSScriptRoot/ping-remote-hosts.ps1" +& "$PSScriptRoot/ping-internet.ps1" & "$PSScriptRoot/check-dns.ps1" & "$PSScriptRoot/list-ssh-key.ps1" exit 0 # success diff --git a/scripts/ping-remote-hosts.ps1 b/scripts/ping-internet.ps1 similarity index 90% rename from scripts/ping-remote-hosts.ps1 rename to scripts/ping-internet.ps1 index c75964d8..4876da77 100755 --- a/scripts/ping-remote-hosts.ps1 +++ b/scripts/ping-internet.ps1 @@ -6,8 +6,8 @@ .PARAMETER hosts Specifies the hosts to ping, seperated by commata (10 Internet servers by default) .EXAMPLE - PS> ./ping-remote-hosts.ps1 - ✅ Internet latency 12ms (9...18ms range) + PS> ./ping-internet.ps1 + ✅ Internet ping latency 12ms (9...18ms range) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -36,7 +36,7 @@ try { Write-Host "⚠️ Internet offline (100% ping loss)" } elseif ($loss -eq 0) { $avg /= $success - Write-Host "✅ Internet latency $($avg)ms ($($min)...$($max)ms range)" + Write-Host "✅ Internet ping latency $($avg)ms ($($min)...$($max)ms range)" } else { $avg /= $success Write-Host "✅ Online with $loss/$total ping loss and $($min)...$($max)ms latency - $($avg)ms average"