VMware Cloud Community
jvm2016
Hot Shot
Hot Shot
Jump to solution

transportzonespan_powercli

Hi Luc ,

if you can help me to find what clusters are covered under transport zone through powercli.

iam not getting the name of clusters in following output.

pastedImage_0.png

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Did you try like this?

$transportzonereach = Get-NsxTransportZone

$transportzonereach.clusters.cluster.cluster.Name

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.


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

View solution in original post

0 Kudos
3 Replies
LucD
Leadership
Leadership
Jump to solution

Did you try like this?

$transportzonereach = Get-NsxTransportZone

$transportzonereach.clusters.cluster.cluster.Name

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.


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

0 Kudos
jvm2016
Hot Shot
Hot Shot
Jump to solution

it works thanks.i see data exchange format for these commands is xml while for some json .

0 Kudos
LucD
Leadership
Leadership
Jump to solution

Indeed, the approach is bit inconsistent.
Luckily, PS can handle both formats.


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