25.3k views
2 votes
An administrator working on a Windows Server 2016 Server Core installation needs to disable DHCP all interfaces on the server. What PowerShell command should be used?

User Mvcoile
by
7.4k points

1 Answer

1 vote

Answer:

Set-NetIPInterface

Step-by-step explanation:

The command modifies IP interface, this also includes the (DHCP) that is Dynamic Host Configuration Protocol, IPv6 discovery, router and Wake On LAN (WOL) settings.

when this function is called without specifying any parameters, this cmdlet sets all of the IP interface properties on the computer, including virtual interfaces and loopback interfaces.

User Albertosh
by
7.9k points