Pureinfotech Forums

IPConfig command list of switches available on Windows 10


#1

On Windows 10, IPConfig is a command-line tool that shows the current TCP/IP configuration of the installed networking stack of a computer connected to a network.

This tool includes a number of switches to perform different actions, and here’s the list of all the switches you can use:

  • /all ― Produces a detailed configuration report for all interfaces.
  • /release < adapter name> ― Releases the IP address for a specified adapter.
  • /renew < adapter name > ― Renew the IP address for the specified adapter.
  • /flushdns ― Removes all entries from the DNS Resolver Cache.
  • /registerdns ― Refreshes all DHCP leases and reregisters DNS names.
  • /displaydns ― Displays the contents of the DNS Resolver Cache.
  • /showclassid adapter ― Displays all the DHCP class IDs allowed for the adapter specified.
  • /setclassid adapter ― Modifies the DHCP class ID for the adapter specified.
  • /? ― Displays this list.

Example: ipconfig /all

It’s worth noting that these IPConfig switches are not only available on Windows 10, but on Windows 8.1, Windows 7, and previous versions.