Dump DHCP Lease information

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a number of Windows 2000 DHCP servers located throughout my network.
Each server has a number of active scopes. I need to produce a report of all
IP addresses in use (leased) on our network. I have looked at the netsh
command, dhcpcmd (an oldie from NT 4 resource kit), export from the
management console, etc. Nothing will show a list of all leases for the DHCP
server as a whole. Does anyone know of a tool (or a script snippet) that
will list all leases from all scopes on a DHCP server? Thanks
 
NetSH???

Why not just go to the DHCP MMC and select the Address Leases Object on the
left window so that the leases show in the right window. Right-click on the
Address Leases object and choose "Export List..."?
 
Thank you for the suggestion. This is an option. However each Dhcp server
has about 25 active scopes. I was looking for a solution that would not
involve having to expand each scope on each of the 11 Dhcp servers -
something that I could run periodically whenever a report was needed.

Phillip Windell said:
NetSH???

Why not just go to the DHCP MMC and select the Address Leases Object on the
left window so that the leases show in the right window. Right-click on the
Address Leases object and choose "Export List..."?

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com



kt2000 said:
I have a number of Windows 2000 DHCP servers located throughout my network.
Each server has a number of active scopes. I need to produce a report of all
IP addresses in use (leased) on our network. I have looked at the netsh
command, dhcpcmd (an oldie from NT 4 resource kit), export from the
management console, etc. Nothing will show a list of all leases for the DHCP
server as a whole. Does anyone know of a tool (or a script snippet) that
will list all leases from all scopes on a DHCP server? Thanks
 
Ok,...Well, you can also add all the DHCP Servers to the same MMC, so at
least they are all in one place,...if that helps a little more.

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com



kt2000 said:
Thank you for the suggestion. This is an option. However each Dhcp server
has about 25 active scopes. I was looking for a solution that would not
involve having to expand each scope on each of the 11 Dhcp servers -
something that I could run periodically whenever a report was needed.

Phillip Windell said:
NetSH???

Why not just go to the DHCP MMC and select the Address Leases Object on the
left window so that the leases show in the right window. Right-click on the
Address Leases object and choose "Export List..."?

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com



kt2000 said:
I have a number of Windows 2000 DHCP servers located throughout my network.
Each server has a number of active scopes. I need to produce a report
of
all
IP addresses in use (leased) on our network. I have looked at the netsh
command, dhcpcmd (an oldie from NT 4 resource kit), export from the
management console, etc. Nothing will show a list of all leases for
the
DHCP
server as a whole. Does anyone know of a tool (or a script snippet) that
will list all leases from all scopes on a DHCP server? Thanks
 
Thanks again for your help. I am doing this now - what a pain. Hopefully
I'll find an easier method in the future.

Phillip Windell said:
Ok,...Well, you can also add all the DHCP Servers to the same MMC, so at
least they are all in one place,...if that helps a little more.

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com



kt2000 said:
Thank you for the suggestion. This is an option. However each Dhcp server
has about 25 active scopes. I was looking for a solution that would not
involve having to expand each scope on each of the 11 Dhcp servers -
something that I could run periodically whenever a report was needed.

Phillip Windell said:
NetSH???

Why not just go to the DHCP MMC and select the Address Leases Object on the
left window so that the leases show in the right window. Right-click on the
Address Leases object and choose "Export List..."?

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com



I have a number of Windows 2000 DHCP servers located throughout my
network.
Each server has a number of active scopes. I need to produce a report of
all
IP addresses in use (leased) on our network. I have looked at the netsh
command, dhcpcmd (an oldie from NT 4 resource kit), export from the
management console, etc. Nothing will show a list of all leases for the
DHCP
server as a whole. Does anyone know of a tool (or a script snippet) that
will list all leases from all scopes on a DHCP server? Thanks
 
Back
Top