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)
- Microsoft To-Do App Available in Preview on Windows 10, iOS and Android - April 19, 2017
- Windows 10 Tip: What’s Mini View in Movies & TV App and How To Use it - April 15, 2017
- Windows 10 Tip: How To Convert MBR Partition to GPT without Losing Data - April 12, 2017
Last updated: 08/04/2014