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

 

 


Posted March 12, 2018 by Ray in category "Windows Server

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.