list reachable hosts Mar 17, 2015 $ping = New-Object System.Net.NetworkInformation.Ping Get-Content .\list.txt | ForEach-Object { "{0,-15} {1,16}" -f $_,$($($ping.Send($_).Address).IPAddressToString 2>$null) }