Disable-TlsCipherSuite

应用到: Windows 10

Disable-TlsCipherSuite

Disables a TLS cipher suite.

语法

Parameter Set: Default
Disable-TlsCipherSuite [-Name] <String> [ <CommonParameters>]

详细说明

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.

参数

-Name<String>

Specifies the name of the TLS cipher suite to disable.

别名

none

是否必需?

true

在哪里?

1

默认值

none

是否接受管道输入?

true(ByValue,ByPropertyName)

是否接受通配符?

false

<CommonParameters>

此 cmdlet 支持常见的参数:-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer 和 -OutVariable。有关详细信息,请参阅 TechNet 上的 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

输入

输入类型是可以传送到 cmdlet 的对象的类型。

输出

输出类型是 cmdlet 发出的对象的类型。

示例

Example 1: Disable a cipher suite

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.

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

相关主题

Enable-TlsCipherSuite

Get-TlsCipherSuite