By using this site, you agree to the Privacy Policy.
Accept
EnterinITEnterinITEnterinIT
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Reading: A Step-by-Step Guide to Configuring DHCP on Windows Server 2016 Using GUI and PowerShell
Font ResizerAa
EnterinITEnterinIT
Font ResizerAa
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
  • WINDOWS
  • SCCM Query Collection List
Search
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Windows Server

A Step-by-Step Guide to Configuring DHCP on Windows Server 2016 Using GUI and PowerShell

Published: February 11, 2024
3 Min Read
SHARE

A Step-by-Step Guide to Configuring DHCP on Windows Server 2016 Using GUI and PowerShell.

Contents
With GUIWith PowerShell

With GUI

1. Run the DHCP console from the apps list. Navigate to IPv4\Server Options. There we config Server options for all scopes;

2. Right Mouse Button click at Server Options and click Configure Options;

3. Select option 006 DNS Servers, enter an IP address, and click Add;

4. Select option 015 DNS Domain Name, enter the domain name, and click OK;

5. New options added;

6. Right Mouse Button click at IPv4 and click New Scope;

7. Click Next;

8. Enter Name (and if you wish Description), and click Next;

9. Enter the Start IP address, End IP address, and Subnet mask, and click Next;

10. On this page, you may exclude the IP range from DHCP. Click Next;

11. Set Lease Duration and click Next;

12. You may select Yes and configure Scope Options for this scope. I choose No, click Next;

13. Click Finish;

14. Scope created, but we must Activate it;

15. Right Mouse Button click at the scope and click Activate;

16. Scope activated and worked!

17. If you Right Mouse Button click on Leased IP Address, you may Add to the reservation Add to the filter, or even Delete it;

With PowerShell

1. Run PowerShell as Administrator. To get active scopes enter:

Get-DhcpServerv4Scope -cn <dhcp server name> | select scopeid, name, description
PowerShell

2. To add new scope, enter:

Add-DhcpServerv4Scope -Name ‘<scope name>’ -StartRange <start IP Address> -EndRange <end IP Address> -SubnetMask <subnet mask> -Description ‘<description>’ –cn <dhcp server name>
PowerShell

3. Before scope delete Best Practices is run the command with WhatIf parameter:

Remove-DhcpServerv4Scope -ScopeId <scope id> -cn <dhcp server name>  -WhatIf
PowerShell

4. Then run without the WhatIf parameter:

Remove-DhcpServerv4Scope -ScopeId <scope id> -cn <dhcp server name>
PowerShell

5. Scope removed.

TAGGED:DHCPMicrosoft Windows ServerPowerShellWindows Server 2016
Previous Article Configuration Manager Query Collection List Configuration Manager Technical Preview Branch Update 1706
Next Article Configuration Manager Query Collection List SCCM Technical Preview Branch Update 1707
Leave a Comment Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translation

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
by Transposh - translation plugin for wordpress

Popular Posts

System Requirements for Windows Server 2016
Windows Server
Configuration Manager Query Collection List
Configuration Manager Query Collection List
ConfigMgr
Structured/Managed Navigation enabled on Modern Pages in Classic Team Sites
Tech
SCCM Failed to get DP locations as the expected version from MP
ConfigMgr

Recent Posts

Installing and Configuring Fail2ban for SSH Protection on Ubuntu 24.04
Linux
Enabling and Configuring FirewallD on AlmaLinux
Linux
User Creation and SSH Key Setup in AlmaLinux
Linux
How to reset password on AlmaLinux
Linux

© 2023 EnterinIT

Go to mobile version
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?