Compartilhar via


Managing DHCP from the command line

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Managing DHCP from the command line

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 DHCP.

Notes