Wednesday, November 21, 2012

Find all list templates used in a website


Scenario:
You need to determine the template used to create a list (or a library).

PowerShell script:
$web = get-spweb http://site:port/web
$web.lists | Format-Table -Property Title, BaseType, BaseTemplate -auto

Note:
The above script will list all BaseTypes and BaseTemplates used in the web

No comments:

Post a Comment