Okay, tried the below code and get the below error. NE ideas. Thanks for all of the suggestions.
Jural
code:
break on
$ip="199.0.66.50"
while 1
$p=wshping($ip,2)
if $p[1]>0
? 'ping successful'
else
? 'ping failed'
endif
sleep 3
loop

Script error : expected expression !
$p=wshping($ip,2)