Door deze site te gebruiken, u gaat akkoord met de Privacybeleid.
Accepteren
OndernemingOndernemingOnderneming
  • THUIS
  • IT-PRO
  • Technisch
  • Microsoft
    • Azuur
    • Configmgr/sccm
    • DPM
    • Orkestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Kantoor 365
    • Kantoor insider
    • PowerBI
    • Skypen
    • SQL-server
    • Teams
  • VENSTERS
    • Windows-beheercentrum
    • Windows-client
    • Windows-server
  • SCCM-queryverzamelingslijst
Lezing: A Step-by-Step Guide to Configuring DHCP on Windows Server 2016 Using GUI and PowerShell
Lettergrootte wijzigenAa
OndernemingOnderneming
Lettergrootte wijzigenAa
  • THUIS
  • IT-PRO
  • Technisch
  • Microsoft
  • VENSTERS
  • SCCM-queryverzamelingslijst
Zoekopdracht
  • THUIS
  • IT-PRO
  • Technisch
  • Microsoft
    • Azuur
    • Configmgr/sccm
    • DPM
    • Orkestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Kantoor 365
    • Kantoor insider
    • PowerBI
    • Skypen
    • SQL-server
    • Teams
  • VENSTERS
    • Windows-beheercentrum
    • Windows-client
    • Windows-server
  • SCCM-queryverzamelingslijst
Windows-server

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

Gepubliceerd: Februari 11, 2024
3 Min. gelezen
DEEL

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

Inhoud
With GUIWith PowerShell

With GUI

1. Loop de DHCP console from the apps list. Navigeren naar IPv4\Server Options. There we config Server options for all scopes;

2. Rechtermuisknop click at Server Options en klik Configure Options;

3. Select option 006 DNS Servers, binnenkomen an IP address, en klik Toevoegen;

4. Select option 015 DNS Domain Name, enter the domain name, en klik OK;

5. New options added;

6. Rechtermuisknop click at IPv4 en klik New Scope;

7. Klik Volgende;

8. Enter Naam (and if you wish Description), en klik Volgende;

9. Enter the Start IP address, End IP address, En Subnet mask, en klik Volgende;

10. On this page, you may exclude the IP range from DHCP. Klik Volgende;

11. Set Lease Duration en klik Volgende;

12. You may select Yes and configure Scope Options for this scope. Ik kies No, klik Volgende;

13. Klik Finish;

14. Scope created, but we must Activate it;

15. Rechtermuisknop click at the scope and click Activate;

16. Scope activated and worked!

17. If you Rechtermuisknop klik op Leased IP Address, you may Add to the reservation Add to the filter, or even Delete it;

With PowerShell

1. Loop Powershell as Administrator. To get active scopes enter:

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

2. To add new scope, binnenkomen:

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.

GETAGD:DHCPMicrosoft Windows-serverPowershellWindows-server 2016
Vorig artikel Configuration Manager Queryverzamelingslijst Configuration Manager Technical Preview Branch Update 1706
Volgend artikel Configuration Manager Queryverzamelingslijst SCCM Technical Preview Branch Update 1707
Laat een reactie achter Laat een reactie achter

Laat een antwoord achter Antwoord annuleren

Uw e-mailadres wordt niet gepubliceerd. Verplichte velden zijn gemarkeerd *

Deze site gebruikt Akismet om spam te verminderen. Ontdek hoe uw reactiegegevens worden verwerkt.

Vertaling

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
door Transposh - Vertaalplugin voor Wordpress

Populaire berichten

Systeemvereisten voor Windows Server 2016
Windows-server
Configuration Manager Queryverzamelingslijst
Configuration Manager Queryverzamelingslijst
ConfiguratieMgr
Gestructureerde/beheerde navigatie ingeschakeld op moderne pagina's in klassieke teamsites
Technologie
SCCM Kan DP-locaties niet ophalen als de verwachte versie van MP
ConfiguratieMgr

Recente berichten

Fail2ban installeren en configureren voor SSH-bescherming op Ubuntu 24.04
Linux
FirewallD inschakelen en configureren op AlmaLinux
Linux
Gebruikers aanmaken en SSH-sleutel instellen in AlmaLinux
Linux
Hoe het wachtwoord op AlmaLinux opnieuw in te stellen
Linux

© 2023 Onderneming

Ga naar mobiele versie
Welkom terug!

Log in op uw account

Gebruikersnaam of e-mailadres
Wachtwoord

Wachtwoord vergeten?