Find specific IP addresses using PowerShell on a machine

Find out an IP address from a particular subnet with PowerShell the easy way.

John Savill

October 3, 2016

1 Min Read
Find specific IP addresses using PowerShell on a machine

Q. How can I get a specific IP address on my machine with PowerShell?

A. If you have multiple IP addresses on a machine and know part of an IP address, for example a subnet you can easily get detail about the IP with the following:

Get-NetIPAddress | where {$_.IPAddress -like "10.7*"} | ft IPAddress, InterfaceAlias, InterfaceIndex -AutoSize

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like