DHCP Remediation Script

Welcome Forums General PowerShell Q&A DHCP Remediation Script

This topic contains 2 replies, has 2 voices, and was last updated by

 
Participant
2 years, 1 month ago.

  • Author
    Posts
  • #54337

    Participant
    Points: 0
    Rank: Member

    CONTEXT: We have our DCHP scope set for MAC filtering for compliance mitigation reasons.

    PROBLEM: Every time we remove a machine from AD, the MAC filter in that lease becomes empty.

    I'd like to run a script that takes any IP in the scope that has no MAC assigned to it and set it to all 0s. I've looked at some of the DHCP modules and commands to run but it's been quite some time since I had to script like this and I'm a bit rusty. Any help would be VERY much appreciated.

  • #54347

    Participant
    Points: 0
    Rank: Member

    Disclaimer -> I'm not that familiar with using DHCP Filtering.

    Are you looking to update the MAC filter list on the server, or update the reservation list on a scope?

    MJ

    • #54393

      Participant
      Points: 0
      Rank: Member

      Reservation list on the scope.

The topic ‘DHCP Remediation Script’ is closed to new replies.