list of ipv4 and ipv6 get only ipv4 address using powershell code example Example: powershell get ip address Get-NetIPAddress