December 13th, 2013

PowerTip: Use PowerShell to Find Connections to Remote Servers

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to find connections to remote servers.

Hey, Scripting Guy! Question How can I use Windows PowerShell while I am troubleshooting my computer to find what
          connections are made to remote servers via port 80?

Hey, Scripting Guy! Answer Use the Get-NetTCPConnection command, specify the remote port of 80, and select the remote addresses:

Get-NetTCPConnection -RemotePort 80 | SELECT RemoteAddress

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback