< Back

Get-Tls

Sat Jan 11, 2020 1:50 pm

NAME Get-Tls



SYNOPSIS

Gets the current TLS configuration.





SYNTAX

Get-Tls [<CommonParameters>]





DESCRIPTION

Retrieves the current setting of `[System.Net.ServicePointManager]::SecurityProtocol`.



These TLS Settings are used by `Invoke-WebRequest` and `Invoke-RestMethod` when connecting to remote end points.

These settings may also be used by other .NET APIs. Caution should be used when changing this as you may decrease

your security settings or break access to previously working endpoints.





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

System.Net.SecurityProtocolType







NOTES









-------------------------- Example 1 --------------------------



Get-Tls



Retrieve the current TLS settings.



RELATED LINKS

https://github.com/markekraus/BetterTls ... Get-Tls.md

https://github.com/markekraus/BetterTls ... Get-Tls.md

Disable-Tls https://github.com/markekraus/BetterTls ... ble-Tls.md

Enable-Tls https://github.com/markekraus/BetterTls ... ble-Tls.md

Set-Tls https://github.com/markekraus/BetterTls ... Set-Tls.md