PS: Script to display ping delay in powershell
ping.ps1
ping 8.8.8.8
-
t
|
ForEach-Object
{
if
(
$_
-match
"time=(\d+ms)"
)
{
$matches
[
0
]
}
}