You can use the commands below to ping computers with PowerShell.
(click/tap on a code snippet to copy it)
You may add (without the quotes) “-IPv4” to the end of the command to tell PowerShell to only ping the IPv4 address of the specified computer.
Use a comma [ , ] to specify multiple computers at once.
Test-Connection google.com, bing.com, yahoo.com