List TPM Values

If the TPM setting is enabled in the BIOS, Windows should maintain a WMI class for Win32_TPM. The following commands will allow you to display TPM values in Powershell.

$TPM = get-wmiobject win32_tpm -namespace "root/cimv2/security/microsofttpm"
$TPM

Sample Output:

PS_TPM1

Typically, the more interesting values to view are those pertaining to “IsActivated”, “IsEnabled”, and “IsOwned”. Please note, the above command will reflect initial values from the time the $TPM variable was instantiated. To view real-time values, run the following methods:

$TPM.IsEnabled()
$TPM.IsActivated()
$TPM.IsOwned()

Sample Output for $TPM.IsOwned()

PS_TPM2