VBS Script to Check Port Availability in Windows
问题 I am trying to check preconditions for a certain piece of software. I have a set of scripts that goes through and checks for things such as disk space, memory availability, etc. I need to create a script that can check if certain ports are open and accessible. I am using the WMI to check other network configuration items, but cannot find any references to checking port availability. Anyone have any ideas where I can find a WMI construct to let me view and manage ports or any other ideas for