The IPCONFIG command will return a computer's network information such as IP Addresses. Using this tool you can determine if the computer has a proper 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.