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.
Find out an IP address from a particular subnet with PowerShell the easy way.
October 3, 2016
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
You May Also Like