PowerCLI Reference

Remove-TrustAuthorityTpm2EndorsementKey

Synopsis

This cmdlet removes the Trust Authority TPM 2.0 endorsement keys from the Trust Authority cluster in the Trust Authority vCenter Server system.

Syntax

Remove-TrustAuthorityTpm2EndorsementKey [-Tpm2EndorsementKey] <TrustAuthorityTpm2EndorsementKey[]> [-Confirm] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version
Get-TrustAuthorityTpm2EndorsementKey
New-TrustAuthorityTpm2EndorsementKey

Detailed Description

This cmdlet removes the Trust Authority TPM 2.0 endorsement keys from the Trust Authority cluster in the Trust Authority vCenter Server system.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
Tpm2EndorsementKeyTrustAuthorityTpm2EndorsementKey[]Specifies the Trust Authority TPM 2.0 endorsement keys that you want to remove.trueTrue (ByValue)
ConfirmSwitchParameterIf the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation.falseFalse
WhatIfSwitchParameterIndicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified.falseFalse

Return Type

System.Void

Notes

Examples

-------------------------- Example 1 --------------------------

$tpm2Eks = Get-TrustAuthorityTpm2EndorsementKey -TrustAuthorityCluster mycluster
Remove-TrustAuthorityTpm2EndorsementKey -Tpm2EndorsementKey $tpm2Eks

Removes the Trust Authority TPM 2.0 endorsement keys from the Trust Authority cluster mycluster.


Copyright © VMware, Inc. All rights reserved.