I created several version of site templates with different name. Next I removed the older versions in solution gallery but in the list of template sites still are showed.
I searched for cmdlet in PowerShell witho no luck. The custom templates does not shown in SP-WebTemplate command. So I don´t know how to remove this templates from SharePoint, if the gallery solution is empty. I remove the solutions from recycle bin in the site and site colleciton scope but with the same results. And I first deactivate the solution and next remove the solution but nothing works to remove the template from site template.
The odd thing is that in my SharePoint 2010 development Virtual Machine removing the solutions remove the site templates of the creation site option. But in the Production Server recently migrate to 2010 it does not work.
Any solution in code, cmdlet or some else could help.
Thanks in advance!