How to Get VMHost (Esxi host) of VM

vcVm esxi host

hostSystem = vcVm.runtime.host;

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