
Powershell
Powershell Listening Ports
Windows Powershell Listening Ports.
Powershell bize network troubleshooting için bir çok araç sunuyor bunlardan bir tanesi de Get-NetTCPConnection komut seti.
Aşağıdaki kodu Powershell ISE ile çalıştırırsanız. Sistemde o an listen durumda olan portları ve hangi process’in bu portları dinlediğini size gösterecektir.
Get-NetTCPConnection -State Listen |
Select-object -Property LocalAddress,
Localport,
RemoteAddress,
RemotePort,
@{name=”Process”;expression={(Get-Process -Id $_.OwningProcess).Name}},
CreationTime
2 thoughts on “Powershell Listening Ports”
Bir yanıt yazın
Yorum yapabilmek için oturum açmalısınız.
[…] Powershell Listening Ports […]
[…] Powershell Listening Ports […]