Due to a DHCP failure, a client had to go through and set all their workstations to static IP addresses. This is approximately 75 workstations throughout their environment. This week, I am tasked with fixing their DHCP issues, and resetting all the workstations back to using DHCP.
This broad-stroke VBScript searches for all workstations in an environment, and queries their DHCP settings for all of them. By removing a single comment, the same script can be used to set all the same workstations to use DHCP (which can be dangerous).