How to Display Computers IPv4 Connections - PowerShell

41 Views Asked by At

I am trying to only get my IPv4 addresses from this list. Is there a way display objects that return a value of IPv4 and not IPv6 from the AddressFamily property?

Get-NetIPAddress | Format-Table -Property IPAddress, InterfaceAlias, Type, AddressFamily

I want to keep this to PowerShell - I am aware there are other ways to find this information.

0

There are 0 best solutions below