Quantcast
Viewing all articles
Browse latest Browse all 181080

powercli to find full path of VM's resource pool location

Hi, I'm looking for a function or script code block I can use to get the full path (depth) of the Resource Pool that a VM is located in. I'm looking to execute something like, "get-vmPoolLocation.ps1 vmname"

 

Ideally, it should return the VMname, ESX Datacenter Name, Cluster Name, ESX Host, and ResourcePool full path, like below represents.

Image may be NSFW.
Clik here to view.
vc_resource_pools.5.2.1.jpg

I've used get-resourcepool but that doesn't provide complete path (at least as far as I can go).


Thank you for you help.


Viewing all articles
Browse latest Browse all 181080

Trending Articles



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