- 论坛徽章:
- 0
|
You can use DHCPCMD to get it, dhcp.mdb is not Access database format, so you cannot use Access to open it.\r\n\r\ndhcpcmd IPAddress enumclients ScopeNetAddress -option > textfile.txt\r\n\r\nwhere:\r\n\r\n- IPAddress is the Internet Protocol (IP) address of the DHCP server.\r\n\r\n- ScopeNetAddress is the network address of the DHCP scope.\r\n\r\n- option is either v or h. The v option lists detailed lease \r\n information; the h option lists lease information with hardware \r\n information.\r\n\r\n- textfile.txt is the name of the destination text file.\r\n\r\n\r\n\r\n\r\nFor example, to export the contents to a text file named \'export.txt\', type:\r\n\r\ndhcpcmd 127.0.0.1 enumclients 11.101.0.0 -h >export.txt |
|