Quantcast
Viewing all articles
Browse latest Browse all 168455

Find vCenter a VM is in

Hello,

 

We have 5 vCenters and it can be a challenge to find a VM at times. I'm making a script that connects to each vCenter then I'm trying to find a 'get-vm' command that will pull the vCenter that the VM is in. But I'm not able to find this. Can anyone tell me with PowerCli, how I can pull the name of the vCenter a VM is in?

 

Thanks,

Scott


Viewing all articles
Browse latest Browse all 168455

Trending Articles



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