Check Remote Servers Ping Status


Hi All,

Below is the sample script for that.

# check the servers are pingable or not

$computers = "Server1","localhost"

$computers | where { -not (Test-Connection $_ -quiet -Count 1)}

Regards,

Chaitanya

Leave a Reply

Create your own website, free on WordPress.com.Create your own website.
Start free