PowerCLI Reference

Get-TrustedCluster

Synopsis

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

Syntax

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

Get-TrustedCluster [[-Name] <String[]>] [-Server <VIServer[]>] [-State {Enabled | Disabled}] [<CommonParameters>]

Related Commands

Online Version
Set-TrustedCluster
Add-TrustedClusterAttestationServiceInfo
Add-TrustedClusterKeyProviderServiceInfo
Remove-TrustedClusterAttestationServiceInfo
Remove-TrustedClusterKeyProviderServiceInfo

Detailed Description

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

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specifies the names of the trusted clusters you want to retrieve.falseFalse
IdString[]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.
trueFalse
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
StateTrustedStateSpecifies the state of the trusted clusters you want to retrieve.falseFalse

Return Type

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

Notes

Examples

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

Get-TrustedCluster -Name mycluster

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


Copyright © VMware, Inc. All rights reserved.