1. Windows Command Line (CMD.exe)

IPCONFIG

IPConfig is a command-line tool that displays the current configuration of the installed IP stack on a networked computer. Run IPConfig whenever you need to know the status of a computer's TCP/IP configuration.

  • Display all current TCP/IP configuration:
  • ipconfig /all

  • Release all TCP/IP configuration:
  • ipconfig /release

  • Renew all TCP/IP configuration:
  • ipconfig /renew

  • Removes all entries from the DNS Resolver Cache:
  • ipconfig /flushdns

    NET USE

    Connects a computer to or disconnects a computer from a shared resource, or displays information about computer connections. The command also controls persistent net connections. Used without parameters, net use retrieves a list of network connections.

  • To assign the drive letter Z: to the "Share" shared directory on the \\server, type:
  • net use z: \\server\share

  • To disconnect from the \\server\share directory, type:
  • net use z: \\server\share /delete

    TRACERT

    Determines the path taken to a destination by sending Internet Control Message Protocol (ICMP) Echo Request or ICMPv6 messages to the destination with incrementally increasing Time to Live (TTL) field values.

  • To trace the path to the host named www.google.pt, type:
  • tracert www.google.pt