SharePoint 2013 & SharePoint Online: How many site templates do I have available?

A common decision we have to take when we need to create a Site Collection or a Site in SharePoint 2013 OnPremises or SharePoint Online is about the base site template we are going to use to start modeling a specific site. One of the aspects where SharePoint 2013 OnPremises has “some advantage” compared with SharePoint Online is on the number of site templates we have available in each case: SharePoint OnPremise has more site templates than SharePoint Online.

 

  • If you want to know the site templates available in your SharePoint Online tenant, you only need to use the Get-SPOWebTemplate cmdlet. For instance, if you execute the following PowerShell sentences, you will get 16 site templates for SharePoint Online.

$spoWebTemplates=Get-SPOWebTemplate

$spoWebTemplates.Count

$spoWebTemplates

And this is the result obtained when executing the previous PowerShell sentences when you execute them in the SharePoint Online Management Shell:

  • In the case of SharePoint 2013 OnPemises, you have the cmdlet Get-SPWebTemplate that allows to list all the site templates available in your farm. Of course, in order to get the right ones for the comparison you will have to do some filtering such as the LocaleID and the CompatibilityLevel. In this case, you will get 60 site templates once you execute the following PowerShell lines in the SharePoint 2013 Administration Console.

$spWebTemplates=Get-SPWebTemplate | Where-object {$_.LocaleId -eq 1033 -and $_.CompatibilityLevel -eq 15 }

$spWebTemplates.Count

$spWebTemplates

In this case, the output generated after executing the above PowerShell sentences is the following one:

And that’s all about SharePoint site templates you can find in both SharePoint 2013 OnPremises environment and SharePoint Online. Happy CloudSharing!!