< Back

Remove-PuttySession

Mon Jan 13, 2020 6:19 am

NAME Remove-PuttySession



SYNOPSIS

Remove a saved PuTTY session.





SYNTAX

Remove-PuttySession [-Name] <String[]> [-WhatIf <SwitchParameter>] [-Confirm <SwitchParameter>]

[<CommonParameters>]





DESCRIPTION

Remove a saved PuTTY session.





PARAMETERS

-Name <String[]>

The name of the session to remove.



Required? true

Position? 0

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]





Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]





Required? false

Position? named

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 --------------------------



Remove-PuTTYSession -Name router



Remove that saved session named "router".







-------------------------- EXAMPLE 2 --------------------------



Get-PuTTYSession | Remove-PuTTYSession



Remove all saved PuTTY sessions.









RELATED LINKS