How to get network ip address via windows command prompt? I know tat ipconfig /all shows ip configuration, but what about having just ipv4 adress?
You can view all the configured IP addresses using this command:
netsh interface ip show address | findstr "IP Address"
You can also add the adapter name to get IP address of a specific network interface.
netsh interface ip show address "Ethernet" | findstr "IP Address"
This should work in at least latest versions of Windows.