IPCONFIG /renew will attempt to get an IP Address if it has none, or will renew the lease on the PC's current IP Address.
Wikipedia
ipconfig (standing for "Internet Protocol configuration") is a console application program of some computer operating systems that displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings.