windows 10 script to pull ip address code example Example: powershell get ip address Get-NetIPAddress