VMware Cloud Community
GuGu1
Contributor
Contributor

How to get Get-NsxtService Host Transport Nodes upper cluster name ?

Hi,

I want to 'Cluster name' use Get-NsxtService -Name "xxx"

NSX-T GUI 

System > Fabric > Nodes > Host Transport Nodes

2 host Upper 'Cluster name'  <<-- !! I want get cluster display name !!

 

$svc = Get-NsxtService -Name "com.vmware.nsx.cluster"

$svc.get() .. cluster_id exist. but, not exist cluster_name ..

 

0 Kudos
1 Reply
LucD
Leadership
Leadership

Try with 'com.vmware.nsx.edge_clusters' and then a get() with the cluster_id

See the Get-NSXTEdgeCluster function in the NSXT module.


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

0 Kudos