title: How to check if port is in use (remote machine)
body: <p>Is there any possibility to check if specific port on remote Windows machine (for example 3389 for RDP) is already in use? Localy I could use netstat, but I want to check this remotely. Can I do this with Telnet? Or something?</p>
  
  <p>EDIT: I tried PortQry (proposed by user3365848: <a href="http://www.gfi.com/blog/scan-open-ports-in-windows-a-quick-guide/" rel="nofollow">http://www.gfi.com/blog/scan-open-ports-in-windows-a-quick-guide/</a>), but this give me only information if system is LISTENING on 3389 port, but not if someone have active RDP session. Or maybe I'm doing something wrong?</p>