[root@host1:~] esxcli hardware trustedboot get
Drtm Enabled: true
Tpm Present: true
[root@host1:~] esxcli system settings encryption recovery list
Recovery ID Key
-------------------------------------- ---
{95D596B6-F9B9-4EAE-9957-5F34340B0332} 576950-585883-508642-213447-669596-497854-451424-683261-618428-522564-132967-573419-333169-023300-403351-572521 The recovery key is the second set of numbers displayed: Sixteen groups of six numbers as highlighted above - it is NOT the alphanumeric characters between the {}.
[root@host1:~] hostname host1.local
After system board or TPM replacement, you must recover the ESXi security configuration: ESXi - How to Recover the Secure ESXi Configuration