You can use a Where-clause and check the type.
Something like this
Get-Inventory | where {$_ -is [VMware.VimAutomation.ViCore.Impl.V1.Inventory.TemplateImpl]}
This will get you all templates
You can use a Where-clause and check the type.
Something like this
Get-Inventory | where {$_ -is [VMware.VimAutomation.ViCore.Impl.V1.Inventory.TemplateImpl]}
This will get you all templates