How to get the values of Manipulate Handle variables programmatically into some variables for further more use Joel CoehoornJoel Coehoorn 28.6k1717 gold badges9797 silver badges145145 bronze badges 1 In PS (for TCP) in place of parsing netstat just use get-nettcpconnection -- and it's localport as a different house much more https://paulm059phz3.answerblogs.com/profile