2020-05-11Windows快速查找远程桌面端口

tasklist  /svc | find /I     "termservice"   (大写i,此参数为忽略大小写)


然后能看到对应进程的pid,然后将对应pid放入下一个命令搜索对应端口,例如1260



netstat  -ano | find     "1260"

好用请给赞谢谢

你可能感兴趣的:(2020-05-11Windows快速查找远程桌面端口)