If you would like to try a different UDF, I believe GetIPOptions() will do this for you. See the header for more thorough examples.

Locally
;? " DHCP Enabled: " + getipoptions("DHCPEnabled")

Remotely
; ? " DHCP Enabled: " + getipoptions("DHCPEnabled",$remotepc,$macaddress)


GetIPOptions -
http://www.kixtart.org/forums/ubbthreads...true#Post159171

The rest of the UDFs are here -
http://www.kixtart.org/forums/ubbthreads.php?ubb=postlist&Board=7&page=1

How to use UDFs -
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=81943#Post81943