Activate-Deactivate Feature on All Site Collections in SharePoint using PowerShell

We use “Enable-SPFeature” and ” Disable-SPFeature” PowerShell cmdlets in SharePoint 2013 / SharePoint 2016 sites to activate or deactivate features as in my another article: How to Activate-Deactivate Features in SharePoint. At times, we may have to activate feature for all site collections or deactivate feature on all sites. Here is my…

Read more

Activate a SharePoint Feature on All Site Collections using PowerShell

Ever wanted to enable a feature on all site collections in a SharePoint environment? Well, To activate a site collection feature in SharePoint, navigate to Site settings >> Site Collection Features >> Click on “Activate” next to the relevant feature. How to Activate a Feature using PowerShell? To activate a SharePoint feature…

Read more