powershell - Test-Connection

sample code

PS> Test-Connection -ComputerName localhost -Count 10