天天看點

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

繼續閱讀