Guide Install Windows Server 2016 DHCP Role with GUI and PowerShell.

Dynamic Host Configuration Protocol (DHCP) is a client/server protocol that automatically provides an Internet Protocol (IP) host with its IP address and other related configuration information such as the subnet mask and default gateway. RFCs 2131 and 2132 define DHCP as an Internet Engineering Task Force (IETF) standard based on Bootstrap Protocol (BOOTP), a protocol with which DHCP shares many implementation details. DHCP allows hosts to obtain required TCP/IP configuration information from a DHCP server.

With GUI:

1. Start your system, when Server Manager opens click Add roles and features;

2. For Installation Type, click Next;

3. For Server Selection, select your server and click Next;

4. For Server Roles, select DHCP Server role;

5. In pop-up window click Add Features;

6. Click Next;

7. For Features, click Next;

8. For DHCP Server, click Next;

9. For Confirmation, click Install;

10. Installation begin;

11. When complete, click Close;

12. Click yellow triangle in Server Manager, click Complete DHCP configuration;

13. For Description, click Next;

14. For Authorization, click Commit (also you may select option Skip AD authorization and do authorization from DHCP console);

15. For Summary, click Close (you must see Done for two times);

16. Run DHCP console from apps list;

With PowerShell:

  1. Run PowerShell as administrator;

2. Install DHCP Role;

Add-WindowsFeature DHCP

3. Install DHCP console;

Add-WindowsFeature RSAT-DHCP

4. For DHCP authorization enter;


5. After that go to Server Manager. Click yellow triangle, click Complete DHCP configuration. For Description, click Next. For Authorization, select option Skip AD authorization and click Commit;

6. Get all commands for DHCP in PowerShell;

Import-Module dhcpserver
Get-Command -Module dhcpserver