One of the commands _not_ inherited from MS-DOS is ipconfig which shows yr PC's current IP address, subnet mask & default gateway, as well as the DNS servers used and other networking information. Ipconfig /all shows it all; ipconfig omits DNS and other information, and ipconfig /? shows available options.

Many machines have multiple network adapters, so when using ipconfig. make sure to look for the networking connection currently in use.

IPv6 is inevitably coming, someday, but nearly all connections use IPv4 and that's the data you should look at now.

On networks where the IP address is assigned by a server using DHCP, ipconfig /release followed by ipconfig /renew obtains a new IP address lease and solves some networking fail-to-connect problems.