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 comment

Design a site like this with WordPress.com
Get started