Share via


Managing DHCP from the Command Prompt

Applies To: Windows Server 2008

The Netsh commands for DHCP offer a command-line tool that helps with the administration of DHCP servers and provides an equivalent alternative to console-based management. This can be useful in the following situations:

  • When managing DHCP servers in wide area networks (WANs), commands can be used in interactive mode at the netsh> command prompt to better manage across slow-speed network links.

  • When managing a large number of DHCP servers, commands can be used in batch mode to help script and automate recurring administrative tasks that need to be performed for all DHCP servers.

For a comprehensive Netsh DHCP command reference, including syntax, parameters, and examples, see Netsh Commands for Dynamic Host Configuration Protocol server (https://go.microsoft.com/fwlink/?LinkID=125702).

For information about how to use the Netsh commands provided for DHCP, see Use DHCP Commands Interactively.

For information about how to use Netsh commands for DHCP in batch files and scripts, see Use DHCP Commands Non-Interactively and in Scripts and Netsh DHCP Example (https://go.microsoft.com/fwlink/?LinkId=125705).