It has been some time since everyone has replied. Merely ask a different dilemma if you prefer to to get started on the discussion yet again.Joel CoehoornJoel Coehoorn 28.6k1717 gold badges9797 silver badges145145 bronze badges 1 In PS (for TCP) instead of parsing netstat just use get-nettcpconnection -- and it's localport being a different residen