2014年10月15日 星期三

Windows Server 2012 DHCP MAC address Filter management

手機使用者越來越多,佔用公司的 DHCP IP 太多,從微軟那兒挖到一篇可以攔阻不明使用者MAC的文章:

http://blogs.technet.com/b/teamdhcp/archive/2012/11/10/dhcp-mac-address-filter-management-made-easy-with-dhcp-powershell.aspx

裡面的指令挺管用的,但是照抄照打會出錯,我把我使用的指令寫下來,給大家參考:

PS C:\> Get-DhcpServerv4FilterList -ComputerName dhcp-server 
PS C:\> Set-DhcpServerv4FilterList -ComputerName dhcp-server -Allow 1 -Deny 1

沒有留言:

張貼留言