问题描述
是否可以使用 powershell 识别活动目录计算机的 TPM 版本? 以下脚本有效,但必须打开计算机:
$Computers = Get-ADComputer -Filter * -Properties $Properties
$FormattedComputers = foreach ($_ in $Computers) {
[Array] $Tpm = Get-WmiObject -class Win32_Tpm -namespace root\CIMV2\Security\MicrosoftTpm -ComputerName $_.Name
if ($Tpm) {
$TpmVersion = $Tpm[0].PhysicalPresenceVersionInfo
} else {
$TpmVersion = $null
}
}
您知道我是否可以使用 Get-ADObject 捕获任何对象并提供该信息吗?
谢谢
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)