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