PowerShell To List Site Template

SharePoint 2010 Management Shell makes it easier to get a list of Site Templates installed in the farm and also creating sites using the names is straight forward.

To get a list of all globally installed site templates use the following PowerShell cmdlet

get-spwebtemplate

clip_image001

To get the basic information about all the STS template, use the following PowerShell cmdlet

get-spwebtemplate “STS*”

clip_image002

To get the basic information about all the SPS template, use the following PowerShell cmdlet

get-spwebtemplate “SPS*”

clip_image003

Comments so far »

  1. suresh datla said,

    Wrote on April 2, 2011 @ 7:38 am

    Thanks this worked for me

Comment RSS · TrackBack URI

Leave a Comment

Name: (Required)

E-mail: (Required)

Website:

Comment:

Comment moderation is enabled. Your comment may take some time to appear.