powershell get ip address from local machine code example Example: powershell get ip address Get-NetIPAddress