Month: December 2018
-
OVFTOOL Examples
cd “C:\Program Files\VMware\VMware OVF Tool” List all VM on ESXi server 192.168.1.250 ovftool “vi://192.168.1.250” Export a VM called NST-VRA-01 to a thin-provisioned ovf with the same name on Y: ovftool -dm=thin “vi://192.168.1.250/NST-VRA-01” y:\NST-VRA-01 IMPORTANT, unmount any ISOs from the VM. If you don’t unmount them they will get exported as part of the OVF Export…
-
Different ways to use odata searches for VCAC:VirtualMachine and VCAC:Entity
Get Entities from vcac:virtualmachine object: Use findAllforType (scroll right for full code): Using readModelEntitiesByCustomFilter (scroll right for full code):