How to configure MAC filtering using only first MAC digits

JPrieto 20 Reputation points
2023-01-23T16:34:24.13+00:00

Dear Microsoft Community,

I am a newbie when it comes to DHCP MAC filtering and I am wondering if there is an option ( either trough Powershell or by using a 3rd party option ) to filter MAC addreses using only the first digits of the mac.

The idea is to have a DHCP that only delivers IP addreses to the devices that have MAs starting with (f.e) "F0-DE-F1".

I have been reading about using the powershell tool "Add-DhcpServerv4Filter"

Would you say that something like the example below would work?

PS C:> Add-DhcpServerv4Filter -List Allow -MacAddress "F0-DE-F1-%%-%%-%%"

Thanks in advance for your help

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,228 questions
Windows DHCP
Windows DHCP
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.DHCP: Dynamic Host Configuration Protocol (DHCP). A communications protocol that lets network administrators manage centrally and automate the assignment of Internet Protocol (IP) addresses in an organization's network.
1,040 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,552 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,595 questions
0 comments No comments
{count} votes

1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.