Caution: Web Application Scoped Features are Activated for All Web Applications by Default
Issue Each time upon deployment of a package through PowerShell scripts, the web application scoped feature was always automatically activated in ALL web apps. The destination web application specified by -URL in Enable-SPFeature is no use. Very weird: even though I only deployed the containing solution but no any contained features were activated, this feature was still got re-activated in all web apps. The Article Saving Life http://www.sharepoint.bg/radi/post/Activate-on-Default-confusion-and-features-scoped-at-Web-Application-level.aspx When creating SharePoint features in Visual Studio 2010, one of the settings that defaults to True is “Activate on Default”. There is a lot of confusion as to what this setting actually does: It ONLY applies to features scoped at Farm and Web Application levels. You can still modify it for other features, but it doesn’t do anything. Any feature (Farm or WebApplication) with that setting set to True will a...