March
12
How to Block Device from Getting IP Address in Windows 2012 DHCP Server
Creating a scope-based deny-filter list using DHCP Policies
1 create a mac.txt file that contains all the MAC address, and place it at c:\ (make sure there is no space and : the file, otherwise , it will not work)
2 Place the script in c:\
3 Open PowerShell as Admin at c:\ and run
.\Scopefilter.ps1 -ScopeId 192.168.100.0 -InputFileName .\mac.txt -IsAllow $false