当前位置:网站首页 > 更多 > 玩电脑 > 正文

[玩转系统] 使用 PowerShell 获取 TPM 版本

作者:精品下载站 日期:2024-12-14 17:03:20 浏览:15 分类:玩电脑

使用 PowerShell 获取 TPM 版本


使用 PowerShell 在 Windows 中获取 tpm 版本的命令是 Get-Tpm cmdlet。它使用 ManufacturerVersion 属性检查 PowerShell 中的 tpm 版本。

[玩转系统] 使用 PowerShell 获取 TPM 版本

PowerShell 中的 Get-Tpm cmdlet 获取一个 TpmObject,其中包含有关当前计算机上的 TPM(可信平台模块)的详细信息。 TpmObject 包含 TpmReady、TPM 是否存在、状态等信息

在本文中,我们将讨论如何在当前计算机上的 PowerShell 中获取 tpm 版本。

使用 PowerShell 检查 TPM 版本

要在 Windows 中检索 tpm 版本,请打开 PowerShell“以管理员身份运行”并键入命令 Get-Tpm,该命令将显示 TPM 版本和其他信息。 Windows 操作系统上的 tpm 版本存储在 ManufacturerVersion 属性中。

Get-Tpm | Select ManufacturerVersion

上面的 PowerShell Get-Tpm | SelectManufacturerVersion 脚本在 PowerShell 中显示 tpm 制造商版本。

上述 PowerShell 脚本的输出检索 tpm 版本为 7.2.0.2

PS C:\> Get-Tpm | Select ManufacturerVersion                                                                                
ManufacturerVersion
-------------------
7.2.0.2

结论

希望上面关于如何使用PowerShell Get-Tpm命令检查tpm版本的文章对您有所帮助。

您可以在 ShellGeek 主页上找到有关 PowerShell Active Directory 命令和 PowerShell 基础知识的更多主题。

您需要 登录账户 后才能发表评论

取消回复欢迎 发表评论:

关灯