Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

In a SharePoint (MOSS 2007) environment how can I list all the Master Pages (templates) that are used in a site collection? I need to add some code to the header of every master page, but there are a lot of subsites and I don't want to have to go to each subsite and check what master page it is using.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I ended up doing 'stsadm -o enumsubsites -url http://mysite.company.com' then manually checking each subsite, but a better way would be good for future use.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.