Thanks, I'll check out the UDF's

Here's what I did to get this to work, and is short and simple!
--------------------------------------
$strHost = "COMPUTER NAME"
$strDownCmd = "c:\down\down /p /f /q \\" + $strHost
$strPingCmd = "ping -n 1 " + $strHost

SHELL $strPingCmd

IF @ERROR
AT (15,25) "Machine " + $strHost + " not running"
ELSE
; COMPUTER IS POWERED UP
SHELL $strDownCmd

ENDIF

Thanks!