Querying DHCP to determine which network and which location

Hello,

My DHCP addresses divided among three separate networks, and in any given office location I can find all three networks, let’s call them 1, 2, and 3 and the offices are lableled A-Z. right now one must scroll through the DHCP list to find what network the address block belongs to.

I am hoping at least for a staring point for powershell code to be able to query the DHCP server with the IP address and return 1. which office, A-Z, and which network, 1,2, or 3.

Thanks,

Gregg,
Welcome to the forum. :wave:t4:

You may start with the overview over all cmdlets of the DHCP server PowerShell module.

To learn how to use the individual cmdlets you pick one and read it completely including the examples. … for example: