Hello there, You can use the Get-NetTCPConnection cmdlet in PowerShell to get information about active network connections in Windows, open TCP ports, and running processes that are using the TCP/IP protocol. You can display a list of open (listening) ports on your local computer: Get-NetTCPConnection -State Listen | Select-Object -Property LocalAddress, LocalPort, RemoteAddress, RemotePort, State | Sort-Object LocalPort |ft The Get-NetUDPEndpoint cmdlet is used to get information about UDP ports. Hope this resolves your Query !! --If the reply is helpful, please Upvote and Accept it as an answer--
netsh persistent vs active route
YaroC
316
Reputation points
Is there a way of checking which routes on given remote systems are set as active only rateher than persistent so they get removed after a reboot? I can't figure how to use netsh to do that as for active store it will also display persistent routes. Also not sure about the meaning of diferent store types like Manual/System/Other.
Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
4,659 questions