Retrieving Virtual Machine Templates as vSphere View Objects
It is possible to retreive virtual machine template information using the Get-View cmdlet, by retrieving VirtualMachine type objects based on the property value that describes the object as a template to which the value is returned as a boolean value. To retrieve VirtualMachine objects , the property value we require to retrieve is Config.Template where the value is ‘True’, which can … More Retrieving Virtual Machine Templates as vSphere View Objects