Look at http://www.kixtart.org/udf/ for some "ping" udf's and addd them to your code. I do like WMIPing()