diff --git a/Modules/Get-Connections.psm1 b/Modules/Get-Connections.psm1 index f3d5f8c..1440f12 100644 --- a/Modules/Get-Connections.psm1 +++ b/Modules/Get-Connections.psm1 @@ -1,11 +1,19 @@ function Get-Connections { <# .SYNOPSIS - Retrieves details on all TCP and UDP connections and listening ports. + Collects information on all active TCP and UDP connections to and from the system. + + .DESCRIPTION + Collects information on all active TCP and UDP connections to and from the system. .EXAMPLE Get-Connections + .EXAMPLE + Get-Connections | + Select-Object -Property * -ExcludeProperty PSComputerName,RunspaceID | + Export-Csv -NoTypeInformation ("c:\temp\Connections.csv") + .EXAMPLE Invoke-Command -ComputerName remoteHost -ScriptBlock ${Function:Get-Connections} | Select-Object -Property * -ExcludeProperty PSComputerName,RunspaceID |