Friday, November 03, 2017

Installing and Configuring DHCP on Windows Server

In this video we go over how to install and configure DHCP on a Windows Server.
In addition to the GUI steps shown here, the same can be accomplished with the following PowerShell commands:
# Install DHCP
Install-WindowsFeature DHCP -IncludeManagementTools
# Authorize DHCP in Domain
# Add DHCP scope for with a range of .50 - .200
Add-DhcpServerv4Scope -StartRange -EndRange -SubnetMask -Name Lab1
# Add the DNS and Gateway settings
Set-DhcpServerv4OptionValue -ScopeId -DnsDomain mcsa2016.local -DnsServer -Router