Windows Server 2012 Minor Roles

This article discusses how to configure comparatively minor roles on Windows Server 2012. I will update it as I proceed with the exercises.

*** DHCP Server ***

add-windowsfeature dhcp
Installs the DHCP server software

add-dhcpserverindc
Adds the DHCP service to the domain

add-dhcpserverv4binding -interfacealias ethernet -bindingstate $true
Binds the DHCP service to interface ethernet and enables it. Both parameters are positional, i.e. the command can also be issued as add-dhcpserverv4binding ethernet $true.

add-dhcpserverv4scope -startrange 192.168.10.101 -endrange 192.168.10.200 -subnetmask 255.255.255.0 -name pool
Creates a DHCP scope "pool" from 192.168.10.101 to 192.168.10.200 in network 192.168.10.0. All parameters are positional.

set-dhcpserverv4optionvalue -optionid 6 -value 192.168.10.10
Defines a DHCP-supplied DNS server address 192.168.10.10. OptionID 6 is DNS. Both parameters are positional.

I found it wise to let the root domain controller of the forest be the DHCP server.

 © Andrew Brehm 2016