AttestationService Category | Vmware PowerCLI Reference

Attestation Service 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

You can READ objects by using Get-AttestationServiceInfo cmdlet. See example below:

# Retrieves a list of the available attestation service information configured in the workload vCenter Server system.

Get-AttestationServiceInfo

Step 2 : Run commands from the CRUD group

You can UPDATE objects by using Add-AttestationServiceInfo cmdlet. See example below:

# Adds the attestation service information to the workload vCenter Server system by specifying the TrustAuthorityAttesationService objects retrieved from the Trust Authority system.

$attestService = Get-TrustAuthorityAttestationService -Server trustAuthoritySystem Add-AttestationServiceInfo -AttesattionService $attestService -Server workloadSystem
You can REMOVE objects by using Remove-AttestationServiceInfo cmdlet. See example below:

# Removes the attestation services information configured in the connected workload vCenter Server system.

$attest = Get-AttestationServiceInfo Remove-AttestationServiceInfo -AttestationServiceInfo $attest