我的 PowerShell TLS 模块似乎不包含 cmdlet Get-TlsCipherSuite:
PS> (Get-Module tls).ExportedCommands 核心价值 --- ----- 禁用-TlsSessionTicketKey 禁用-TlsSessionTicketKey 启用-TlsSessionTicketKey 启用-TlsSessionTicketKey 导出-TlsSessionTicketKey 导出-TlsSessionTicketKey 新-TlsSessionTicketKey 新-TlsSessionTicketKey
但我不确定如何更新它。
我用的是PS 5.1
主要次要构建修订 ----- ----- ----- -------- 5 1 14409 1018
我已经尝试过
PS>更新模块 tls Update-Module :模块“tls”未使用 Install-Module 安装,因此 无法更新。
编辑:
我认为这是 Server 2012 R2 的限制,因为 cmdlet 未在此处的 2012 下列出
https://learn.microsoft.com/en-us/powershell/module/tls/?view=win10-ps
但是,它是 2016 年列出的。有没有办法将此命令导入到 2012 R2?