tool for finding out which Custom master page being used
-
09-12-2019 - |
Question
I am trying to find a tool, that tells me which Custom master page is being used by a web/site, I tried google it but couldn't find anything relative.
Cheers
Solution
A simple PowerShell script would do it. There's a MasterUrl
and CustomMasterUrl
property on the SPWeb object, so you could just do something simple like Get-SPSite | Get-SPWeb | % {"Site: " + $_.Url + " Master: "+ $_.MasterUrl}
to list out the master for every web.
OTHER TIPS
Open Site in SharePoint Designer 2007, In "_catalogs" folder, you will find a sub-folder named as "masterpage", extending this folder will display you masterpage being used for that specific site/web.
You can follow this link if you dont know how to open a site in sharepoint designer 2007
Opening a Site in Sharepoint Designer
and you will "_catalogs" folder in "Folder List" on top left hand side.
Cheers