Is it possible to use Powershell to find a DHCP client in a gigantic list of DHCP servers and scopes?
I work for a hospital that has multiple DHCP servers (one for each region) with multiple scopes (upwards of 50 DHCP scopes for each server. I am trying to find a way that I can write a Powershell script to sift through all servers and scopes and come back with the relevant information needed for my (manual) server decommission process rather than having to do this manually.
We do have applications and tools (Solarwinds) in place that can get me the information that I need, but it's involved and time consuming and I'd rather have this Powershell script a "one-stop shop" script to run to gather my information and clean up the DHCP inventory. And eventually have it baked into the entire end-to-end process for decommissioning the servers. My dream is to be able to run a script, give it the server name and have the process run through and clean out everything from DHCP to DNS to AD Users and Computers. But I'll start small for now.
Use example resources
Use Video tutorials
Use the built-in cmdlets
Use the examples from the help files to get started or complete your task
Look for other modules/scripts to leverage