![]() ![]() It is called in Windows from the command prompt, by entering the following command: netstat -ano The netstat command is available in both Linux and Windows and provides the ability to view all network connections and open ports. The following line can be easily pasted (Ctrl+C) into Windows PowerShell via the clipboard (Ctrl+V): Get-NetTCPConnection | Where-Object state -ne Bound | Select-Object LocalAddress,LocalPort,RemoteAddress,RemotePort,State,OwningProcess, e= | Format-Table The result is a list of all incoming and outgoing network connections and their processes. The following command line combines Get-NetTCPConnection with Get-Process and Out-GridView. ![]() PowerShell: Get-NetTCPConnectionĪs an alternative to the CMD command "netstat", the command "Get-NetTCPConnection" can be used in PowerShell to display the network connections. For a quick overview of which programs or services have an active network connection, they can be listed via simple commands or monitored and analyzed via specific tools.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |