if you are in dos command and you type

ipconfig /? <-- this will tell you all the different variations of ipconfig and what they do.

In case you are too lazy though

ipconfig <-- will display your current network adaptor and some of the status of it
ipconfig /all <-- will display all of your network adaptors and info on them
ipconfig /release <-- will release all of a dhcp ip information
ipconfig /renew <-- will search for a dhcp server and attempt to automatically gather the information (ip, subnet, gateway...etc)