扫描对方3389端口(远程桌面协议RDP默认端口)需谨慎操作,需确保行为合法且获得授权。
Test-NetConnection
Test-NetConnection -ComputerName -Port 3389
TcpTestSucceeded: True
RemotePort: 3389