Is there any built-in tool in Win7/Win Server 2008 to query remote host opening ports?
On Win XP/Win Server 2003, we can use
telnet <remote host> <port> to do so. However, telnet is not available Win7/Win Server 2008.
I don’t know a built-in tool. But 2003 shipped with
Prtqry.exe a very handy tool to do just that. Maybe you could include it with the script or put it on a networkshare?
More info on can be found here : KB310099
Or if you have the rights to do it, run a