Retrieve information about SQL Server related processes running on the operating system and their associated network connections.
- Copy the function in PowerShell.
- Run the function using the following command: Get-SQLServerTCPConnectionsOSLevel -servername YourServerName