I'm stuck with a problem in my configuration.
We have a domain controller who works also as DNS and DHCP server. Yesterday i deployed a secondary DHCP server and configured it in a failover cluster with the first one using the Hot-StandBy mode. I successfully made the scopes being replicated automatically using the DHCP Failover Auto Config Sync found on TechNet:
https://gallery.technet.microsoft.com/scriptcenter/Auto-syncing-of-configurati-6eb54fb0
Now, my problem is: How can i get the replication of the MAC Addresses filter even if it's a server config? So i tried this line of PowerShell code:
Get-DhcpServerv4Filter -List Allow -ComputerName myserver.FQDN | Add-DhcpServerv4Filter -Force
Which actually works, but ther's one problem.
It's not automated, so if i enter a MAC address on the master DHCP, it won't be automatically replicated into the backup server. Also, if i delete a MAC address from the secondary DHCP, it won't be deleted on the primary server.
So, do you know how to make these changes automated like "DHCP Failover Auto Config Sync" script?
Thanks in advance.