X

How to Configure DHCP Failover in Windows Server 2016 using PowerShell

You can create a DHCP failover with two servers in hot standby mode by using a single Add-DhcpServerv4Failover PowerShell cmdlet.

This tutorial assumes you have an active scope on primary DHCP server and a DHCP running on standby or partner server.

Configure DHCP Failover in Windows Server 2016 using PowerShell

Step 1. Open PowerShell on primary DHCP server with elevated privileges.

Step 2. Execute the following command. Make sure to replace the appropriate values:

Add-DhcpServerv4Failover -ComputerName "dhcpserver.contoso.com" -Name "SFO-SIN-Failover" -PartnerServer "dhcpserver2.contoso.com" -ServerRole Standby -ScopeId 10.10.10.0,10.20.20.0 -force

 

Karim Buzdar: About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various websites.
X

Headline

You can control the ways in which we improve and personalize your experience. Please choose whether you wish to allow the following:

Privacy Settings