ipconfig command displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS)
ipconfig: If you want to release the IP from the DHCP server you have to issue the following command;
ipconfig /release If you want to renew your IP address type inipconfig /renew
If you need to get the details of the IP configuration issue the following command;ipconfig
It gives you network IP details.