I have a vcenter server called ThreeStooges.
In that vcenter there are 3 datacenters called Larry, Curly and Moe.
Each datacenter has a cluster and of course they all have datastores.
How can I get a list of all the datacenters with their clusters and datastores in a tab separated value (TSV) like below....
vcenter | datacenter | cluster | datastore |
ThreeStooges | Larry | Klust01_lry | nfs_lry |
ThreeStooges | Larry | Klust02_lry | iscsi_lry |
ThreeStooges | Moe | Klust01_moe | sata_moe |
ThreeStooges | Moe | Klust02_moe | sas_moe |
ThreeStooges | Curly | Klust01_cur | ssd_cur |
ThreeStooges | Curly | Klust02_cur | nvme_cur |
Thanks