Update Get-SystemSecurityAndHardwareInfo.ps1

added version
This commit is contained in:
minster586
2025-10-15 02:40:57 -04:00
parent b5f59c88dd
commit 753809256f

View File

@@ -220,6 +220,8 @@ function Format-ResultText($res) {
$dt = Get-Date $dt = Get-Date
$lines += "System Hardware & Security Report - $($dt.ToString('MM-dd-yyyy hh:mm tt'))" $lines += "System Hardware & Security Report - $($dt.ToString('MM-dd-yyyy hh:mm tt'))"
$lines += "" $lines += ""
$lines += "Version: 1.0.0"
$lines += ""
$lines += "TPM Installed: $($res.TPM.Installed)" $lines += "TPM Installed: $($res.TPM.Installed)"
$lines += "TPM Enabled/Activated: $($res.TPM.IsEnabled)" $lines += "TPM Enabled/Activated: $($res.TPM.IsEnabled)"
if ($res.TPM.ManufacturerId) { $lines += "TPM ManufacturerId: $($res.TPM.ManufacturerId)" } if ($res.TPM.ManufacturerId) { $lines += "TPM ManufacturerId: $($res.TPM.ManufacturerId)" }