A: 

ipconfig may be included in the OS by the OEM. If it's not there, then you don't have a command-line option to get the IP address. You would have to write your own, but it's pretty simple. Just query the registry key here:

[HKLM\comm\[adapter name]\Parms\Tcpip\IpAddress]

ctacke