PowerShell – PING Loop – With and Without GridView

email me

# MrNetTek
# eddiejackson.net/blog
# 5/7/2020
# free for public use 
# free to claim as your own

function PING-Loop {
 
[CmdletBinding()]
 
param
(
 
[Parameter(Mandatory=$true)]
    
    $COMPUTER
 
)
 
    Test-Connection $COMPUTER -Count ([int32]::MaxValue) | Out-GridView
    #Test-Connection $COMPUTER -Count ([int32]::MaxValue)
 
}

PING-Loop localhost