VMware Cloud Community
NGSI
Contributor
Contributor

How do I get the UUID of a cluster

How do I get the UUID of a cluster in a vCenter? Is there any PowerCLI command? :smileyangry:

0 Kudos
1 Reply
LucD
Leadership
Leadership

Not exactly sure what you mean by the cluster UUID?

An ESXi node has a UUID, that one you can get as follows

foreach($cluster in Get-Cluster){

    Get-VMHost -Location $cluster |

    Select @{N='Cluster';E={$cluster.Name}},

        Name,

        @{N='UUID';E={$_.ExtensionData.Hardware.SystemInfo.Uuid}}

}

Or do you mean the UID?

Get-Cluster | Select Name,Uid


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos