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
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