< Back

Set-SessionSecurityProtocol

Mon Jan 13, 2020 1:10 am

NAME Set-SessionSecurityProtocol



SYNOPSIS

Changes the session security protocol to TLS 1.2.





SYNTAX

Set-SessionSecurityProtocol [<CommonParameters>]





DESCRIPTION

Changes the session security protocol to TLS 1.2 for the current PowerShell session only.





PARAMETERS

<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

None.





OUTPUTS

Security protocol for the current session.





-------------------------- EXAMPLE 1 --------------------------



C:\\PS>Set-SessionSecurityProtocol















RELATED LINKS