【问题标题】:Using Get-TlsCipherSuite in PowerShell & Server 2012 R2在 PowerShell 和 Server 2012 R2 中使用 Get-TlsCipherSuite
【发布时间】:2019-10-18 09:26:16
【问题描述】:

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

PS> (Get-Module tls).ExportedCommands 核心价值 --- ----- 禁用-TlsSessionTicketKey 禁用-TlsSessionTicketKey Enable-TlsSessionTicketKey Enable-TlsSessionTicketKey 导出-TlsSessionTicketKey 导出-TlsSessionTicketKey 新 TlsSessionTicketKey 新 TlsSessionTicketKey

但我不确定如何更新它。

我在 PS 5.1

主要次要版本修订 ----- ----- ----- -------- 5 1 14409 1018

我尝试过

PS> 更新模块 tls 更新模块:模块“tls”没有使用安装模块安装,所以它 无法更新。

编辑:

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

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

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

【问题讨论】:

    标签: powershell windows-server-2012-r2


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-03-17
      • 1970-01-01
      • 1970-01-01
      • 2017-11-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多