PowerCLI Reference

Add-TrustedClusterAttestationServiceInfo

Synopsis

This cmdlet adds the attestation service information configured in the workload vCenter Server system to the trusted hosts in the given trusted cluster.

Syntax

Add-TrustedClusterAttestationServiceInfo [-TrustedCluster] <TrustedCluster> [-AttestationServiceInfo] <AttestationServiceInfo[]> [-Confirm] [-Server <VIServer[]>] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version
Get-AttestationServiceInfo
Remove-TrustedClusterAttestationServiceInfo
Get-TrustedCluster
Set-TrustedCluster

Detailed Description

This cmdlet adds the attestation service information configured in the workload vCenter Server system to the trusted hosts in the given trusted cluster.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
TrustedClusterTrustedClusterSpecifies the trusted cluster where you can configure the trusted hosts with the attestation service information.trueTrue (ByValue)
AttestationServiceInfoAttestationServiceInfo[]Specifies the attestation service information that you can configure in the workload vCenter Server system.trueFalse
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
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
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 --------------------------

$attestService = Get-AttestationServiceInfo
Add-TrustedClusterAttestationServiceInfo -TrustedCluster myCluster -AttestationServiceInfo $attestService

Adds the attestation service information configured in the workload vCenter Server system to the trusted hosts in the trusted cluster named myCluster.


Copyright © VMware, Inc. All rights reserved.