< Back
Get-PuttySession
Post
NAME Get-PuttySession
SYNOPSIS
Get the saved PuTTY sessions.
SYNTAX
Get-PuttySession [[-Name] <String>] [<CommonParameters>]
DESCRIPTION
Get the saved PuTTY sessions.
PARAMETERS
-Name <String>
The name of the session to get. If not specified, all the sessions will be returned.
Required? false
Position? 0
Default value
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
-------------------------- EXAMPLE 1 --------------------------
Get-PuTTYSession
Get the saved PuTTY sessions.
Name Hostname
---- --------
firewall 10.0.0.2
router 10.0.0.3
switch 10.0.0.1
-------------------------- EXAMPLE 2 --------------------------
Get-PuttySession -Name firewall
Get a specific PuTTY session.
Name Hostname
---- --------
firewall 10.0.0.2
RELATED LINKS
SYNOPSIS
Get the saved PuTTY sessions.
SYNTAX
Get-PuttySession [[-Name] <String>] [<CommonParameters>]
DESCRIPTION
Get the saved PuTTY sessions.
PARAMETERS
-Name <String>
The name of the session to get. If not specified, all the sessions will be returned.
Required? false
Position? 0
Default value
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
-------------------------- EXAMPLE 1 --------------------------
Get-PuTTYSession
Get the saved PuTTY sessions.
Name Hostname
---- --------
firewall 10.0.0.2
router 10.0.0.3
switch 10.0.0.1
-------------------------- EXAMPLE 2 --------------------------
Get-PuttySession -Name firewall
Get a specific PuTTY session.
Name Hostname
---- --------
firewall 10.0.0.2
RELATED LINKS