How to Get resource pool of VM

vcVm resource pool

resourcePool = vcVm.runtime.host.parent.resourcePool;

Comments

Popular posts from this blog

Creating Snapshots for Unmanaged VMs in Aria Automation (vRealize Automation)

Bulk import security policies into Palo Alto Networks firewalls

Automating Tag Creation & Assignment to VMs with vRA + vRO