PowerShell Command With Ipv6 in PC
You can use the following PowerShell command to display your IPv6 address:
Get-NetIPAddress -AddressFamily IPv6
If you only want to see the IPv6 addresses assigned to your active network interfaces, use:
Get-NetIPAddress -AddressFamily IPv6 | Where-Object { $_.PrefixOrigin -ne "WellKnown" }
Alternatively, you can use ipconfig in PowerShell:
ipconfig /all
Comments
Post a Comment