You can use DHCPCMD to get it, dhcp.mdb is not Access database format, so you cannot use Access to open it.
dhcpcmd IPAddress enumclients ScopeNetAddress -option > textfile.txt
where:
- IPAddress is the Internet Protocol (IP) address of the DHCP server.
- ScopeNetAddress is the network address of the DHCP scope.
- option is either v or h. The v option lists detailed lease
information; the h option lists lease information with hardware
information.
- textfile.txt is the name of the destination text file.
For example, to export the contents to a text file named 'export.txt', type:
dhcpcmd 127.0.0.1 enumclients 11.101.0.0 -h >export.txt
netsh dhcp servercomputername or ip scope subnetip show clients
版本5客户端用show clientsv5,netsh的?帮助写错了。
使用dump命令可以把内容导出到文本文件,netsh dhcp可以显示并配置2K dhcp服务器基本上所有的配置,但dhcpcmd.exe不能显示或配置2K dhcp服务器的新特性。