Link to home
Start Free TrialLog in
Avatar of sharepoint0520
sharepoint0520

asked on

Identify FAB 40 sharepont list template

I had this question after viewing Sharepoint Upgrade Failed.

We have Sharepoint 2013.  We had some outage due to fab 40 template (Ctype feature). We have some sharepoint lists which are using fab 40 templates. We need to identify those sharepoint list and remove from farm.

How do i identify those sharepoint lists?
ASKER CERTIFIED SOLUTION
Avatar of Piotr Strycharz
Piotr Strycharz
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sharepoint0520
sharepoint0520

ASKER

Hi,
 Sorry we have open two thread. I am little bit confuse to run this script. How do i get $list.TemplateFeatureId? Can you please help me to merge the script?

We have some Ctype feature installed in below location,

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\Features\TSATypes\CTypes.xml
75a0fea7-cd50-401e-af0e-782f3662a299

Thank You
Hi,
 I have run my own script to get all Listname, Template Feature ID, Content Type and Content Type feature ID. Now from this report is it possible to identify the list created by FAB 40 template.

Script
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
$site = Get-SPSite -Identity "http://sharepoint/site.com"
$web = $site.OpenWeb()
$lists = $web.Lists
foreach($list in $lists)
{
$listcount +=1
ForEach($ctype in $list.ContentTypes)
{
write-host $list.Title ":" $list.TemplateFeatureId ":"  $ctype.Name": "$ctype.FeatureId

}
#Write-Host " – "$list.Title ": " $list.ContentTypes.ToString()
}

$web.Dispose()

Open in new window

List-Report.xlsx