This is the built-in help made by Microsoft for the command 'Get-NetTCPConnection', in PowerShell version 3 - as retrieved from
Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Gets information about current TCP connection statistics.
Get-NetTCPConnection [[-LocalAddress] <String[]>] [[-LocalPort] <UInt16[]>] [-AppliedSetting <AppliedSetting[]>] [-AsJob [<SwitchParameter>]]
[-CimSession <CimSession[]>] [-RemoteAddress <String[]>] [-RemotePort <UInt16[]>] [-State <State[]>] [-ThrottleLimit <Int32>]
[<CommonParameters>]
The Get-NetTCPConnection cmdlet gets information about current TCP connection statistics. This includes TCP connection properties such as
local or remote IP address, local or remote port and connection state. Used without parameters, this cmdlet gets information about all TCP
connections.
<
<
EXAMPLE 1
PS C:\>Get-NetTCPConnection
This example gets information about current TCP connection statistics. Used without parameters, this cmdlet gets information about all TCP
connections.
EXAMPLE 2
PS C:\>Get-NetTCPConnection –State Established
This example gets information about all established TCP connections.
EXAMPLE 3
PS C:\>Get-NetTCPConnection –AppliedSetting Internet
This example gets information about all TCP connections that use the Internet TCP settings.