Install-WindowsFeature -Name 'DHCP' –IncludeManagementTools
Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\ServerManager\Roles\12 -Name ConfigurationState -Value 2
Restart-Service DHCPServer
Add-DhcpServerV4Scope -Name "Scope" -StartRange 192.168.0.50 -EndRange 192.168.0.200 -SubnetMask 255.255.255.0
Set-DhcpServerV4OptionValue -ScopeId 192.168.0.0 -Router 192.168.0.1
Hope you find something useful.