導出命令:
netsh dhcp server 192.168.0.1 scope 192.168.0.0 dump > d:\dhcp.txt
打開導出的dhcp.txt文件,可以看到保留的IP地址和不分配的IP,將其他信息刪除
導入
netsh -f d:\dhcp.txt
導出命令:
netsh dhcp server 192.168.0.1 scope 192.168.0.0 dump > d:\dhcp.txt
打開導出的dhcp.txt文件,可以看到保留的IP地址和不分配的IP,將其他信息刪除
導入
netsh -f d:\dhcp.txt