Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 251579

ClusterName of a VM

$
0
0

Hi,

 

Is there any way to retrieve the cluster name from the view object of VM and esx host. For example

 

$vm = get-vm -Name VMname

$vmview =  $vm | get-view

 

Now I want to retrieve the cluster name of the VM using $vmview. Same for host as well.

 

Please help.


Viewing all articles
Browse latest Browse all 251579

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>