繁体   English   中英

在 PowerShell 和 Server 2012 R2 中使用 Get-TlsCipherSuite

[英]Using Get-TlsCipherSuite in PowerShell & Server 2012 R2

我的 PowerShell TLS 模块似乎不包含 cmdlet Get-TlsCipherSuite

PS> (Get-Module tls).ExportedCommands

Key                         Value
---                         -----
Disable-TlsSessionTicketKey Disable-TlsSessionTicketKey
Enable-TlsSessionTicketKey  Enable-TlsSessionTicketKey
Export-TlsSessionTicketKey  Export-TlsSessionTicketKey
New-TlsSessionTicketKey     New-TlsSessionTicketKey

但我不确定如何更新它。

我在 PS 5.1

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      14409  1018

我尝试过

PS> Update-Module tls
Update-Module : Module 'tls' was not installed by using Install-Module, so it
cannot be updated.

编辑:

我认为这是 Server 2012 R2 的限制,因为此处未在 2012 下列出 cmdlet

https://docs.microsoft.com/en-us/powershell/module/tls/?view=win10-ps

但是,它是为 2016 列出的。有没有办法将此命令导入 2012 R2?

根据文档,Windows Server 2012 R2 中的TLS模块没有您要查找的 cmdlet。 据我所知,如果不升级到更新的 Windows 版本,就无法更新模块。

Get-ItemPropertyValue -Path HKLM:\SYSTEM\CurrentControlSet\Control\Cryptography\Configuration\Local\SSL\00010002 -Name Functions

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM