Written
March 14, 2011
I didn't use the DHCP part from this script. I used this one: http://gallery.technet.microsoft.com/scriptcenter/5884b62f-0a69-48e2-af16-3c4fcc060161/view/Discussions
Bit since it's almost the same I guess the whole script should work.