< Back
Get-SSHSession
Post
NAME Get-SSHSession
SYNOPSIS
Get current SSH Session that are available for interaction.
SYNTAX
Get-SSHSession [[-SessionId] <Int32[]>] [<CommonParameters>]
Get-SSHSession [[-ComputerName] <String[]>] [[-ExactMatch]] [<CommonParameters>]
DESCRIPTION
Get current SSH Session that are available for interaction.
PARAMETERS
-SessionId <Int32[]>
Session Id for an exiting SSH session.
Required? false
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ComputerName <String[]>
ComputerName for an exiting SSH session.
Required? false
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ExactMatch [<SwitchParameter>]
Only exact match when searching by ComputerName.
Required? false
Position? 0
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
AUTHOR: Carlos Perez carlos_perez@darkoprator.com
-------------------------- EXAMPLE 1 --------------------------
Get-SSHSession
SessionId Host Connected
--------- ---- ---------
0 192.168.1.180 True
RELATED LINKS
Online Version: https://github.com/darkoperator/Posh-SS ... aster/docs
SYNOPSIS
Get current SSH Session that are available for interaction.
SYNTAX
Get-SSHSession [[-SessionId] <Int32[]>] [<CommonParameters>]
Get-SSHSession [[-ComputerName] <String[]>] [[-ExactMatch]] [<CommonParameters>]
DESCRIPTION
Get current SSH Session that are available for interaction.
PARAMETERS
-SessionId <Int32[]>
Session Id for an exiting SSH session.
Required? false
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ComputerName <String[]>
ComputerName for an exiting SSH session.
Required? false
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ExactMatch [<SwitchParameter>]
Only exact match when searching by ComputerName.
Required? false
Position? 0
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
AUTHOR: Carlos Perez carlos_perez@darkoprator.com
-------------------------- EXAMPLE 1 --------------------------
Get-SSHSession
SessionId Host Connected
--------- ---- ---------
0 192.168.1.180 True
RELATED LINKS
Online Version: https://github.com/darkoperator/Posh-SS ... aster/docs