Get-TrustedCluster Command | Vmware PowerCLI Reference

Get-TrustedCluster

This cmdlet retrieves the trusted clusters from the connected workload vCenter Server system.

Syntax

Get-TrustedCluster
-Id < String[] >
[-ProgressAction < ActionPreference > ]
[-Server < VIServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Id String[] named
Specifies the IDs of the trusted cluster you want to retrieve. Note: When a list of values is specified for the Id parameter, the returned objects have an ID that matches exactly one of the string values in that list.
optional ProgressAction ActionPreference named
optional Server VIServer[] named
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.
Get-TrustedCluster
[-Name < String[] > ]
[-ProgressAction < ActionPreference > ]
[-Server < VIServer[] > ]
[-State < TrustedState > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional Name String[] named
Specifies the names of the trusted clusters you want to retrieve.
optional ProgressAction ActionPreference named
optional Server VIServer[] named
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.
optional State TrustedState named
Specifies the state of the trusted clusters you want to retrieve.

Output

VMware.VimAutomation.Security.Types.V1.TrustedInfrastructure.TrustedCluster

Examples

Example 1

Get-TrustedCluster -Name mycluster

Retrieves the trusted cluster with a name mycluster from the connected workload vCenter Server system.

Related Commands

TrustedCluster

This cmdlet retrieves the trusted clusters from the connected workload vCenter Server system.

This cmdlet modifies the configuration of the trusted clusters in the workload vCenter Server system.

TrustedClusterAppliedStatus

This cmdlet retrieves the applied status of the trusted service information on the trusted clusters in the workload vCenter Server system.

TrustedClusterAttestationServiceInfo

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

This cmdlet removes the attestation services information from the specified trusted cluster in the workload vCenter Server system.

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.

This cmdlet removes the key provider services information from the specified trusted cluster in the workload vCenter Server system.