Portqry Command Jun 2026
Test-NetConnection -ComputerName web01 -Port 443 -InformationLevel Detailed
(Port Query) is a command-line utility developed by Microsoft for troubleshooting TCP/IP connectivity and port listening status. Unlike basic tools like telnet or Test-NetConnection , Portqry provides detailed information about port states, including whether a port is listening, filtered, or not listening. portqry command
Portqry can be downloaded from Microsoft Download Center as "PortQry Command Line Port Scanner" (portqry.exe) or as part of "PortQryUI" (GUI version). including whether a port is listening