PowerCLI Reference

Get-Tpm2EndorsementKey

Synopsis

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

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

Related Commands

Online Version
Get-Tpm2EndorsementKey
Export-Tpm2CACertificate

Detailed Description

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.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
VMHostVMHost[]Specifies the hosts on which you want to export the TPM 2.0 endorsement key from the TPM 2.0 chip.trueTrue (ByValue)
ServerVIServer[]Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.falseFalse

Return Type

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

Notes

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.


Copyright © VMware, Inc. All rights reserved.