Enumerates the SSL protocols that the client is able to successfully use to connect to a server.
Get-SslDetails.ps1 [-ComputerName] <String> [[-Port] <Int32>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Get-SslDetails.ps1 -ComputerName www.google.com
ComputerName : www.google.com Port : 443 KeyLength : 2048 SignatureAlgorithm : rsa-sha1 CertificateIssuer : Google Inc CertificateExpires : 06/20/2018 06:22:00 Ssl2 : False Ssl3 : False Tls : Aes128 Tls11 : Aes128 Tls12 : Aes128
The name of the remote computer to connect to.
Type: String
Parameter Sets: (All)
Aliases: CN, Hostname
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
The remote port to connect to.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: 443
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
https://msdn.microsoft.com/library/system.security.authentication.sslprotocols.aspx
https://msdn.microsoft.com/library/system.net.security.sslstream.authenticateasclient.aspx