I have created a custom site definition which I can see and create a site using my custom definition with the UI. However, if I try to create a site using powershell I get an error saying
WARNING: Template is not found and is not applied.
I have verified that the Template param for
New-SPWeb matches the definition name and configuration Id
I looked at the available web templates using the command
and my new site definition is not showing up is not available in the collection. I do see other definitions created previously but not my new one.
Anyone have any ideas why I can't create a site this way?