Get-TrustedCluster

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

Syntax

[-Name  <String[]>]
[-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
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.

-Id  <String[]>
[-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.
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.

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

Feedback

Was this page helpful?