header image

DHCP scope

Posted by: | May 26, 2016 Comments Off on DHCP scope |

After rebuilding my test machine for Server 2016 (with mixed results) I needed to add a DHCP scope to the environment. I blogged about the DHCP PowerShell module several years ago.


To quickly add a DHCP scope to the current server

Add-DhcpServerv4Scope -Name ‘Manticore Scope’  `
-StartRange -EndRange `
-Description ‘Scope for Manticore domain’ `
-Type DHCP -State Active -SubnetMask `
-LeaseDuration (New-TimeSpan -Days 2)


Set-DhcpServerv4OptionValue  -ScopeId -DnsServer


I’ll save this as I’ll have to rebuild the machine when Windows 2016 RTM’s and possibly again if I can’t get the wireless adapter to work then.

under: DHCP

Comments are closed.