how to get ipv4 and ipv6 address filter in powershell code example Example: powershell get ip address Get-NetIPAddress