Script Download: 

This PowerShell script can help users to configure DHCP Guard in Hyper-V.

DHCP Guard is a feature that you can use (as the owner of the hypervisor) to prevent VMs that you do not authorize from acting as DHCP Servers. For this Script can help users to batch configure DHCP Guard in Hyper-V.

image image

You can find more All-In-One Script Framework script samples at