Get-Tpm2EndorsementKey

This cmdlet retrieves the TPM 2.0 endorsement key from the TPM 2.0 chip in the specified host. It only works when connecting to the specified host directly using the Connect-VIServer cmdlet.

Syntax

-VMHost  <VMHost[]>
[-Server  <VIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
VMHost
VMHost[] named
  • pipeline
  • Specifies the hosts on which you want to export the TPM 2.0 endorsement key from the TPM 2.0 chip.
    optional
    Server
    VIServer[] named Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.

    Output

    VMware.VimAutomation.Security.Types.V1.TrustedInfrastructure.Tpm2EndorsementKey

    Examples


    Example 1

    Connect-VIServer -Server 1.1.1.1 -User myroot -Password mypassword
    Get-Tpm2EndorsementKey -VMHost 1.1.1.1 -Server 1.1.1.1

    Retrieves the TPM 2.0 endorsement key information from the TPM 2.0 chip in the 1.1.1.1 host.

    Related Commands

    Feedback

    Was this page helpful?