I would like to ping a subnet where i get the address, status, however missing dns name or host name - also timeout do not reflect the address - I would like to get timeouts displayed in red. Here is the code i am using
$ping = New-Object System.Net.Networkinformation.Ping
1..254 | % { $ping.send(“140.18.101.$_”) | select address, status }