I need to check if computers is online. I used to use ping for things like this: if ping($ComputerNamesList[$i]) <> 0 Then ... some code EndIf But sometimes there is DNS error. I mean you want to ping computer A but you actually pinging computer B. That's because that computer was not shuted down properly. Sometimes you need to wait a few weeks before the wrong DNS record will be gone (or you just need to turn the computer off properly). But my question is how can I check if computers ar