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 Disable Removable USB Storage Read, Write and Execute Access on Windows 10 - December 1, 2016
- Windows 10 Tip: How To Move System Tray to the Second Display - November 30, 2016
- How To Display The Last Logon Account Info on Windows 7 and 10 - November 29, 2016
Last updated: 08/04/2014