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
0 comments
Hide comments