Get-NetIPAddress
SafeGet IP configuration
Get-NetIPAddress -AddressFamily IPv4
Returns IP config as objects — unlike ipconfig, you can filter and reshape the output.
Examples
Get-NetIPAddress -AddressFamily IPv4 | ft InterfaceAlias,IPAddressIPv4 addresses as a table
Syntax
Get-NetIPAddress [-AddressFamily IPv4] [-InterfaceAlias name]
Before you run it
Read only.
Related commands
- ipconfigShow/refresh IP configuration
- Get-NetAdapterList network adapters
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store