export list of ipv4 and ipv6 split pv4 powershell command code example Example: powershell get ip address Get-NetIPAddress