Get site collection templates in SharePoint 2016

by Robi 16. September 2016 17:02

Usually when building new farms or creating new site collection I'm dealing with site collection template ids and trying to find those on the internet.

Since it is sometimes hard to find site collection template ids, I wrote a PowerShell one liner where you get all site collection templates that are not hidden, with compatibility level 15, localeID 1033 (english)

Get-SPWebTemplate |?{$_.compatibilitylevel -eq 15 -and $_.localeId -eq 1033 -and $_.ishidden -eq $false -and $_.issubwebonly -eq $false} |select Name, Title, displaycategory |sort displaycategory |ft -AutoSize

 

 

Tags:

Add comment

Calendar

<<  July 2017  >>
MonTueWedThuFriSatSun
262728293012
3456789
10111213141516
17181920212223
24252627282930
31123456

View posts in large calendar

Page List

Month List