The command ipconfig can be used to display IP addresses assigned to all network connections on a system.
ipconfig is a command tool used to display displays all current IP addresses, subnet masks, and default gateways for all adapters. It can be used also with parameters and can display TCP/IP network configuration values and Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings.