windows

A collection of 54 posts
PowerShell: Test-Netconnection (TNC) ใช้สำหรับดูข้อมูลการเชื่อมต่อ
windows

PowerShell: Test-Netconnection (TNC) ใช้สำหรับดูข้อมูลการเชื่อมต่อ

ใช้ตรวจสอบ TCP Port ว่าเปิดอยู่หรือไม่ Test-NetConnection -ComputerName <ชื่อเซิร์ฟเวอร์_หรือ_IP> -Port <หมายเลขพอร์ท> Example: Test-NetConnection -ComputerName 192.168.xx.xx -Port 13000 Result: ตรง "TcpTestSucceeded : True" แสดงว่าเครื่องเราสามารถเชื่อมต่อไปยังเครื่องปลายทางผ่าน port นี
1 min read