so, my code might be better or even faster.
take all the servers in your corp into array and check their registry or wmi for running DHCP server-service [Wink]
_________________________
!

download KiXnet