Saturday, January 2, 2016

How to get SharePoint 2013 site template names using PowerShell?

We will discuss how we can get SharePoint 2013 site templates.

We can be able to get site template names of SharePoint 2013 using PowerShell. Below is the PowerShell command which will display the list templated in the PowerShell editor.

You may like: Activate SharePoint Server Publishing Feature programmatically using CSOM

Add-PSSnapin "Microsoft.SharePoint.PowerShell"
Get-SPWebTemplate

The below PowerShell command will download the site templates in a text file.

Add-PSSnapin "Microsoft.SharePoint.PowerShell"
Get-SPWebTemplate >> E:\Bijay\sitetemplate.txt

This will show all the site templates like below:

Name                 Title                                    LocaleId   CompatibilityLevel   Custom  
----                 -----                                    --------   ------------------   ------  
GLOBAL#0             Global template                          1033       15                   False  
STS#0                Team Site                                1033       15                   False  
STS#1                Blank Site                               1033       15                   False  
STS#2                Document Workspace                       1033       15                   False  
MPS#0                Basic Meeting Workspace                  1033       15                   False  
MPS#1                Blank Meeting Workspace                  1033       15                   False  
MPS#2                Decision Meeting Workspace               1033       15                   False  
MPS#3                Social Meeting Workspace                 1033       15                   False  
MPS#4                Multipage Meeting Workspace              1033       15                   False  
CENTRALADMIN#0       Central Admin Site                       1033       15                   False  
WIKI#0               Wiki Site                                1033       15                   False  
BLOG#0               Blog                                     1033       15                   False  
SGS#0                Group Work Site                          1033       15                   False  
TENANTADMIN#0        Tenant Admin Site                        1033       15                   False  
APP#0                App Template                             1033       15                   False  
APPCATALOG#0         App Catalog Site                         1033       15                   False  
ACCSRV#0             Access Services Site                     1033       15                   False  
ACCSVC#0             Access Services Site Internal            1033       15                   False  
ACCSVC#1             Access Services Site                     1033       15                   False  
BDR#0                Document Center                          1033       15                   False  
DEV#0                Developer Site                           1033       15                   False  
DOCMARKETPLACESITE#0 Academic Library                         1033       15                   False  
EDISC#0              eDiscovery Center                        1033       15                   False  
EDISC#1              eDiscovery Case                          1033       15                   False  
OFFILE#0             (obsolete) Records Center                1033       15                   False  
OFFILE#1             Records Center                           1033       15                   False  
OSRV#0               Shared Services Administration Site      1033       15                   False  
PPSMASite#0          PerformancePoint                         1033       15                   False  
BICenterSite#0       Business Intelligence Center             1033       15                   False  
SPS#0                SharePoint Portal Server Site            1033       15                   False  
SPSPERS#0            SharePoint Portal Server Personal Space  1033       15                   False  
SPSPERS#2            Storage And Social SharePoint Portal ... 1033       15                   False  
SPSPERS#3            Storage Only SharePoint Portal Server... 1033       15                   False  
SPSPERS#4            Social Only SharePoint Portal Server ... 1033       15                   False  
SPSPERS#5            Empty SharePoint Portal Server Person... 1033       15                   False  
SPSMSITE#0           Personalization Site                     1033       15                   False  
SPSTOC#0             Contents area Template                   1033       15                   False  
SPSTOPIC#0           Topic area template                      1033       15                   False  
SPSNEWS#0            News Site                                1033       15                   False  
CMSPUBLISHING#0      Publishing Site                          1033       15                   False  
BLANKINTERNET#0      Publishing Site                          1033       15                   False  
BLANKINTERNET#1      Press Releases Site                      1033       15                   False  
BLANKINTERNET#2      Publishing Site with Workflow            1033       15                   False  
SPSNHOME#0           News Site                                1033       15                   False  
SPSSITES#0           Site Directory                           1033       15                   False  
SPSCOMMU#0           Community area template                  1033       15                   False  
SPSREPORTCENTER#0    Report Center                            1033       15                   False  
SPSPORTAL#0          Collaboration Portal                     1033       15                   False  
SRCHCEN#0            Enterprise Search Center                 1033       15                   False  
PROFILES#0           Profiles                                 1033       15                   False  
BLANKINTERNETCONT... Publishing Portal                        1033       15                   False  
SPSMSITEHOST#0       My Site Host                             1033       15                   False  
ENTERWIKI#0          Enterprise Wiki                          1033       15                   False  
PROJECTSITE#0        Project Site                             1033       15                   False  
PRODUCTCATALOG#0     Product Catalog                          1033       15                   False  
COMMUNITY#0          Community Site                           1033       15                   False  
COMMUNITYPORTAL#0    Community Portal                         1033       15                   False  
SRCHCENTERLITE#0     Basic Search Center                      1033       15                   False  
SRCHCENTERLITE#1     Basic Search Center                      1033       15                   False  
visprus#0            Visio Process Repository                 1033       15                   False  
GLOBAL#0             Global template                          1033       14                   False  
STS#0                Team Site                                1033       14                   False  
STS#1                Blank Site                               1033       14                   False  
STS#2                Document Workspace                       1033       14                   False  
MPS#0                Basic Meeting Workspace                  1033       14                   False  
MPS#1                Blank Meeting Workspace                  1033       14                   False  
MPS#2                Decision Meeting Workspace               1033       14                   False  
MPS#3                Social Meeting Workspace                 1033       14                   False  
MPS#4                Multipage Meeting Workspace              1033       14                   False  
CENTRALADMIN#0       Central Admin Site                       1033       14                   False  
WIKI#0               Wiki Site                                1033       14                   False  
BLOG#0               Blog                                     1033       14                   False  
SGS#0                Group Work Site                          1033       14                   False  
TENANTADMIN#0        Tenant Admin Site                        1033       14                   False  
ACCSRV#0             Access Services Site                     1033       14                   False  
ACCSRV#1             Assets Web Database                      1033       14                   False  
ACCSRV#3             Charitable Contributions Web Database    1033       14                   False  
ACCSRV#4             Contacts Web Database                    1033       14                   False  
ACCSRV#6             Issues Web Database                      1033       14                   False  
ACCSRV#5             Projects Web Database                    1033       14                   False  
BDR#0                Document Center                          1033       14                   False  
OFFILE#0             (obsolete) Records Center                1033       14                   False  
OFFILE#1             Records Center                           1033       14                   False  
OSRV#0               Shared Services Administration Site      1033       14                   False  
PPSMASite#0          PerformancePoint                         1033       14                   False  
BICenterSite#0       Business Intelligence Center             1033       14                   False  
SPS#0                SharePoint Portal Server Site            1033       14                   False  
SPSPERS#0            SharePoint Portal Server Personal Space  1033       14                   False  
SPSMSITE#0           Personalization Site                     1033       14                   False  
SPSTOC#0             Contents area Template                   1033       14                   False  
SPSTOPIC#0           Topic area template                      1033       14                   False  
SPSNEWS#0            News Site                                1033       14                   False  
CMSPUBLISHING#0      Publishing Site                          1033       14                   False  
BLANKINTERNET#0      Publishing Site                          1033       14                   False  
BLANKINTERNET#1      Press Releases Site                      1033       14                   False  
BLANKINTERNET#2      Publishing Site with Workflow            1033       14                   False  
SPSNHOME#0           News Site                                1033       14                   False  
SPSSITES#0           Site Directory                           1033       14                   False  
SPSCOMMU#0           Community area template                  1033       14                   False  
SPSREPORTCENTER#0    Report Center                            1033       14                   False  
SPSPORTAL#0          Collaboration Portal                     1033       14                   False  
SRCHCEN#0            Enterprise Search Center                 1033       14                   False  
PROFILES#0           Profiles                                 1033       14                   False  
BLANKINTERNETCONT... Publishing Portal                        1033       14                   False  
SPSMSITEHOST#0       My Site Host                             1033       14                   False  
ENTERWIKI#0          Enterprise Wiki                          1033       14                   False  
SRCHCENTERLITE#0     Basic Search Center                      1033       14                   False  
SRCHCENTERLITE#1     Basic Search Center                      1033       14                   False  
SRCHCENTERFAST#0     FAST Search Center                       1033       14                   False  
visprus#0            Visio Process Repository                 1033       14                   False  


Twitter Delicious Facebook Digg Favorites More