By continuing to use our website, you agree with our use of cookies in
accordance with our Cookie Policy.
You can reject cookies by changing your browser settings.
When the object is a VM the job is created correctly, but when the object is a template, the job is created but the object is not added, I have to add it manually using th GUI.
Hi Thomas. Thanks for your reply.
When I run Find-VBRObject, no template is shown on the list and therefore, if I try to store the object name in a variable (i.e.: $obj = Find-VBRObject -Server $server|where {$_.name -eq "Template_Name"}) nothing is stored. ¿Is there some parameter needed to find template objects?
Hi jlsung. Thank you for your help.
I have tried what you told but as "where {$_.IsTemplate}" is a filter for the "Find-VBRObject" and "Find-VBRObject" doesn't show any template, the "Find-VBRObject $server | where {$_.IsTemplate}" neither shows any template.