This question already has an answer here:
- Windows command that returns external IP 12 answers
The Windows "ipconfig" command can only show me the parameters from the Ethernet interfaces from my machine (even with the
ipconfig /all argument). It can show detailed information about the interface, but it will never show me my external IP address over a NAT network.
However, there are several websites, such as "What is my IP address" that can get and show my external IP address. So I'm wondering, whether it is possible to get this value externally? Should I expect that there is some way to get this information from a command line at my local machine...
I need to get this value to log on an application that I'm doing with VBScript. Is there a way to do this, from a
cmd on Windows?