Trusted Cluster Category
Cmdlets are usually implemented around resource operations. The four basic operations are CREATE, READ, UPDATE and DELETE. This set of operations is known as CRUD. Most of the cmdlets support CRUD which are respectively cmdlets that start with the New/Get/Set/Remove cmdlet verbs but they also may have additional operations
Step 1: Retrieve a object by running a Get command
# Retrieves the trusted cluster with a name mycluster from the connected workload vCenter Server system.
Get-TrustedCluster -Name mycluster
Step 2 : Run commands from the CRUD group
# Adds the attestation service information configured in the workload vCenter Server system to the trusted hosts in the trusted cluster named myCluster.
$attestService = Get-AttestationServiceInfo Add-TrustedClusterAttestationServiceInfo -TrustedCluster myCluster -AttestationServiceInfo $attestService
# Removes the attestation services information configured in the trusted mycluster cluster.
$cluster = Get-TrustedCluster mycluster Remove-TrustedClusterAttestationServiceInfo -TrustedCluster mycluster -AttestationServiceInfo $cluster.AttestationServiceInfo
Step 3: Explore More Related Commands:
Add-TrustedClusterKeyProviderServiceInfo | This cmdlet adds the key provider service information configured in the workload vCenter Server system to the trusted hosts in the given trusted cluster. |
Get-TrustedClusterAppliedStatus | This cmdlet retrieves the applied status of the trusted service information on the trusted clusters in the workload vCenter Server system. |
Remove-TrustedClusterKeyProviderServiceInfo | This cmdlet removes the key provider services information from the specified trusted cluster in the workload vCenter Server system. |
Set-TrustedCluster | This cmdlet modifies the configuration of the trusted clusters in the workload vCenter Server system. |