Test-NetConnection -computer 服務器或者域名(www.baidu.com) -Port 端口號 443 如: Test-NetConnection -computer www.baidu.com -Port 443