Hi All,
When i try to check whether VirtualMachine is Template, vco throws error "Property or method 'isTemplate' not found on object VcVirtualMachine". How do i find whether VM is template or not using script?
'isTemplate' is a finder property, not scripting property.
In scripting, you should use 'summary.config.template' property. Something like that (assuming 'vm' is your VcVirtualMachine scripting object);
System.log( "is template -> " + vm.summary.config.template );
Thanks.