Using command ipconfig /all shows detailed information such as IP address of your system, DHCP enabled or not, default gateway address,DHCP server address if enabled, DNS servers and MAC address of your network card whether onboard or PCI card.
C:\> ipconfig /release (will release the ip address)
C:\> ipconfig /renew (will renew the ip address)
C:\> ipconfig /flushdns (will purge the DNS resolver cache)
C:\> ipconfig /registerdns (will re-register DNS server names)
C:\> ipconfig /renew (will renew all network adapters connected to your system)