I've been doing the following:
If ping($ComputerName,5) > 0 Then
;Computer is on
EndIf
But this method is pretty slow, even with the timeout set to 5ms. I'm wondering if anyone else has a better, faster method for detecting if a remote computer is powered on?