Create DHCP Scope via CLI in Microsoft Server
Goodies, Goodies | MicrosoftCreate scope through powershell
Add-DhcpServerv4Scope -Name "VLAN111" -StartRange 172.16.11.10 -EndRange 172.16.11.100 -SubnetMask 255.255.255.0
Add-DhcpServerv4Scope -Name "VLAN222" -StartRange 172.16.22.10 -EndRange 172.16.22.100 -SubnetMask 255.255.255.0
Add-DhcpServerv4Scope -Name "VLAN333" -StartRange 172.16.33.10 -EndRange 172.16.33.100 -SubnetMask 255.255.255.0
Add-DhcpServerv4Scope -Name "VLAN444" -StartRange 172.16.44.10 -EndRange 172.16.44.100 -SubnetMask 255.255.255.0
Add-DhcpServerv4Scope -Name "VLAN999" -StartRange 172.16.99.10 -EndRange 172.16.99.100 -SubnetMask 255.255.255.0
Set options like, DNS Server, DNS Suffix and Default Gateway
Set-DhcpServerv4OptionValue -ScopeId 172.16.11.0 -DnsServer 10.249.100.51 -DnsDomain "scitodk.local" -Router 172.16.11.1
Set-DhcpServerv4OptionValue -ScopeId 172.16.22.0 -DnsServer 10.249.100.51 -DnsDomain "scitodk.local" -Router 172.16.22.1
Set-DhcpServerv4OptionValue -ScopeId 172.16.33.0 -DnsServer 10.249.100.51 -DnsDomain "scitodk.local" -Router 172.16.33.1
Set-DhcpServerv4OptionValue -ScopeId 172.16.44.0 -DnsServer 10.249.100.51 -DnsDomain "scitodk.local" -Router 172.16.44.1
Set-DhcpServerv4OptionValue -ScopeId 172.16.99.0 -DnsServer 10.249.100.51 -DnsDomain "scitodk.local" -Router 172.16.99.1