2016-03-03 59 views

回答

0
netstat -ano | ?{($_ -like "*"+$(Get-Process -Name Unity).Id) -and ($_ -like "* LISTENING *") } 

TCP 0.0.0.0:56760   0.0.0.0:0    LISTENING  6760 

此命令返回行所以,我需要使用端口。

其他類似this instruction