Question

I have added a Farm scope feature stapler that staples an existing feature and that existing feature deploys master page. When i create a new site collection, the master page deploys automatically. I have many site collections that are already created before feature stapling. Now my question is how the feature stapling will effect the existing site collections?

enter image description here Is there any way to do this by Power Shell?

Was it helpful?

Solution

Stapling only affects new Sites.

You can use PowerShell to iterate all your sites and activate your MasterPage Feature

Ge-SPWebApplication "your web app url" | Get-SPSite -Limit all | %{ Enable-SPFeature -ID "<Your Feature ID>" -Url $_.Url }
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top