PowerShell: Check TPM Specification Version

Need to check the TPM specification version - to confirm Windows 11 compatibility or verify a security requirement? This one-liner pulls it straight from the system.

Prerequisites:

  • Privileges: Run as Administrator
  • Module: Built-in, no import needed

Quick Command:

Get-CimInstance -Namespace "root/CIMV2/Security/MicrosoftTpm" -ClassName Win32_Tpm | Select-Object SpecVersion

Example Output:

SpecVersion
-----------
2.0, 0, 1.16
📦
Want all of them at once?
Get every free one-liner from this blog in a single downloadable bundle organized by category, each with full comment-based help. No more copy-pasting one at a time.

How It Works:

  • Get-CimInstance queries the dedicated TPM namespace (root/CIMV2/Security/MicrosoftTpm), separate from the standard root/cimv2 namespace used by most other system info.
  • SpecVersion returns three comma-separated values: the TPM specification version (2.0), the error revision, and the specification revision number - the first value (2.0 or 1.2) is what matters most for compatibility checks.
  • Windows 11 requires TPM 2.0 - if this shows 1.2, the machine doesn't meet the official hardware requirement.