PowerCLI Reference

Set-TrustAuthorityTpm2AttestationSettings

Synopsis

This cmdlet modifies the Trust Authority TPM 2.0 attestation settings of the Trust Authority cluster in the Trust Authority vCenter Server system.

Syntax

Set-TrustAuthorityTpm2AttestationSettings [-Tpm2AttestationSettings] <TrustAuthorityTpm2AttestationSettings> [-Confirm] [-RequireCertificateValidation] [-RequireEndorsementKey] [-WhatIf] [<CommonParameters>]

Set-TrustAuthorityTpm2AttestationSettings [-TrustAuthorityCluster] <TrustAuthorityCluster> [-Confirm] [-RequireCertificateValidation] [-RequireEndorsementKey] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version
Get-TrustAuthorityTpm2AttestationSettings

Detailed Description

This cmdlet modifies the Trust Authority TPM 2.0 attestation settings of the Trust Authority cluster in the Trust Authority vCenter Server system.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
Tpm2AttestationSettingsTrustAuthorityTpm2AttestationSettingsSpecifies the Trust Authority TPM 2.0 attestation settings that you want to modify.trueTrue (ByValue)
TrustAuthorityClusterTrustAuthorityClusterSpecifies the Trust Authority cluster where you want to modify the Trust Authority TPM 2.0 attestation settings.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
RequireCertificateValidationSwitchParameterUpdates the specified Trust Authority TPM 2.0 attestation settings to require the TPM 2.0 certificate authority (CA) certificate validation.falseFalse
RequireEndorsementKeySwitchParameterUpdates the specified Trust Authority TPM 2.0 attestation settings to require the TPM 2.0 endorsement key validation.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

VMware.VimAutomation.Security.Types.V1.TrustedInfrastructure.TrustAuthorityTpm2AttestationSettings

Notes

Examples

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

$tpm2Settings = Get-TrustAuthorityTpm2AttestationSettings -TrustAuthorityCluster mycluster
Set-TrustAuthorityTpm2AttestationSettings -Tpm2AttestationSettings $tpm2Settings -RequireCertificateValidation -RequireEndorsementKey

Modifies the Trust Authority TPM 2.0 attestation settings in the Trust Authority Cluster mycluster. The CertificateValidation and EndorsementKey parameters are required.


Copyright © VMware, Inc. All rights reserved.