DHCP Remediation Script

Tagged: , ,

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of Josh Bregler Josh Bregler 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #54337
    Profile photo of Josh Bregler
    Josh Bregler
    Participant

    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
    Profile photo of Mike Jenne
    Mike Jenne
    Participant

    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
    Profile photo of Josh Bregler
    Josh Bregler
    Participant

    Reservation list on the scope.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.