.. / Get-NetIPAddress

Gets the IP address configuration


Functions:
Type:
Toolsets:

Network

List IP addresses of the various interfaces

Get-NetIPAddress -CimSession $s | Sort InterfaceIndex | ft -Autosize InterfaceIndex, InterfaceAlias, AddressFamily, IPAddress, PrefixLength
Usecase
Identify whether a machine might be dual-homed

Comments
Mitre Att&ck
T1047




Updated: 2023-07-01
Contributor: Arris Huijgen (bitsadmin)