If you have multiple network adapters installed, or are using one of those Virtual Machine clients such as VMware Player, you will likely have multiple IP addresses assigned onto your computer. You can quickly get a list of them by running a classic
IPConfig /all, but the output isn’t nearly clear and often you would have to scroll up/down the window to find the right information you want.
So, here is a better and more geek of way getting the information prompt and correct.
1. Open Windows PowerShell Console (Win+R, type in PowerShell, and hit Enter)
2. Run the following cmdlet:
This actually is too much of information. We can strip down further to only list the IP Addresses in the output.
That actually looks much better. Let’s see what else we can do further?
If you want to list only the IPv4 addresses, here is what you can use:
[Net.DNS]::GetHostAddresses('').IPAddressToString -like '*.*'
Give it a try and see what you can get.
Latest posts by Kent Chen (see all)
- How To Enable and Use Fetch Files Feature in OneDrive to Access All Your Files Remotely - February 21, 2017
- Speed Up Email Search for Outlook and Gmail with Email Insight App - February 20, 2017
- How To Take Screenshot and Save it to OneDrive Automatically on Windows - February 17, 2017
Last updated: 08/04/2014