PowerShell: Get-NetIPConfiguration or Get-NetIPAddress
Examples:
- Get-NetIPConfiguration
- Get-NetIPAddress | Sort-Object InterfaceIndex | Format-Table InterfaceIndex,InterfaceAlias,AddressFamily,IPAddress,PrefixLength -Autosize
- Get-NetIPAddress | Where-Object AddressFamily -eq IPv6 | Format-Table –AutoSize
No comments:
Post a Comment