天天看点

Powershell function to get all dhcp lease

前提是安装RSAT tool for win10,这样才有相应的powershell module 来管理DHCP

另外要有权限来查询DHCP服务器

get-dhcplease可以查询目前域内所有DHCP服务器的IP分发。

本文转自 yoke88 51CTO博客,原文链接:http://blog.51cto.com/yoke88/1742419

继续阅读