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"

Sample Output:


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:


Sample Output for $TPM.IsOwned()