Home » PowerShell » PowerShell Get-TPM – Get Tpm Information

PowerShell Get-TPM – Get Tpm Information

TrustedPlatformModule in PowerShell has a Get-Tpm command to get TpmObject that contains information about TPM on the current computer.

Tpm (Trusted Platform Module) information on the current computer includes, if TPM is Ready, if TPM is Present, get the Tpm version, TPM Enabled, LockeOutCount, etc…

In this article, we will discuss how to use PowerShell Get-Tpm Command to retrieve the trusted platform module information of the current computer.

PowerShell Get-Tpm

The Get-Tpm PowerShell command displays information about TPM.

Syntax:

Get-Tpm

Open the PowerShell terminal "Run as Administrator" and type the command Get-Tpm.

Get-Tpm

This command in the PowerShell script gets the TPM object that contains the different property that stores the Tpm information.

The output of the above PowerShell script to retrieve the TPM information is:

PS C:\> Get-Tpm

TpmPresent                : True
TpmReady                  : True
TpmEnabled                : True
TpmActivated              : True
TpmOwned                  : True
RestartPending            : True
ManufacturerId            : 1413143054
ManufacturerIdTxt         : INTC
ManufacturerVersion       : 7.2.0.2
ManufacturerVersionFull20 : 7.2.0.2

ManagedAuthLevel          : Full
OwnerAuth                 :
OwnerClearDisabled        : False
AutoProvisioning          : Enabled
LockedOut                 : False
LockoutHealTime           : 10 minutes
LockoutCount              : 0
LockoutMax                : 31
SelfTest                  : {}

The Get-Tpm returns a TpmObject object that contains the information like:

  1. TpmReady – Whether a TPM complies with Windows Server 2012 standards.
  2. TpmPresent – Whether Tpm is installed on the current computer.
  3. TpmEnabled – Whether Tpm is enabled on the current computer.
  4. TpmActivated – Whether Tpm is activated on the current computer.
  5. TpmOwned – Whether Tpm is owned.
  6. RestartPending – Whether restart pending is due on the current computer.
  7. ManufacturerVersion – Get Tpm Version on the current computer.
  8. LockedOut – Whether a TPM is locked out.
  9. LockoutCount – Number of failed attempts
  10. LockoutMax – Limit of failed attempts.
  11. LockoutHealTime – Heal time until you can unlock the TPM.

Conclusion

I hope the above article on how to use the Get-Tpm command in PowerShell to obtain information about TPM on the current computer is helpful to you.

You can find more topics about PowerShell Active Directory commands and PowerShell basics on the ShellGeek home page.