Why doesn’t the blcli command work ?
blcli Template delete Template Applications
Unknown command : name space = 'Template', command = 'delete'.com.bladelogic.om.
infra.cli.factory.CommandNotFoundException: Name space : Template has no command
s by name : delete
blcli_execute Template deleteTemplate "templateName" "/template/group"
if that doesn't work we can look at writing a script that will first delete all the components associated w/ the template, then the template.
Do you have to put the whole path in Like this
TS-BL-APP02% blcli_execute Template deleteTemplate Applications "/Component Templates/BladeLogic Inventory Templates/Windows_Servers"
Yep. the template is named ‘Applications’ ?
1 of 1 people found this helpful
Yes it is, I needed to remove the /Component Templates/ from the path, it is doing something no error yet so fingers crossed its working.