Powershell

Test for open Port

Test-NetConnection [-ComputerName] <fqdn/ip> -port <portnumer>