Disable-TlsCipherSuite

Disables a TLS cipher suite.

Syntax

Disable-TlsCipherSuite
       [-Name] <String>
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]

Description

The Disable-TlsCipherSuite cmdlet disables a cipher suite. This cmdlet removes the cipher suite from the list of Transport Layer Security (TLS) protocol cipher suites for the computer.

For more information about the TLS cipher suites, see the documentation for the Enable-TlsCipherSuite cmdlet or type Get-Help Enable-TlsCipherSuite.

Examples

Example 1: Disable a cipher suite

PS C:\>Disable-TlsCipherSuite -Name "TLS_RSA_WITH_3DES_EDE_CBC_SHA"

This command disables the cipher suite named TLS_RSA_WITH_3DES_EDE_CBC_SHA. The command removes the cipher suite from the list of TLS protocol cipher suites.

Required Parameters

-Name

Specifies the name of the TLS cipher suite to disable.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False