About Me

Having 12 years experience in Microsoft technologies.Since more than 7 years working in SharePoint technologies. Expert in providing consultation for SharePoint projects. Hands on with development and administration.

Thursday, 12 December 2013

Activate a feature in all the SharePoint site collections-PowerShell

$webAppUrl = "Web Application URL"

$webapp = Get-SPWebApplication $webAppUrl  | Get-SPSite -Limit All | Get-SPSite -limit 

all | ForEach-Object {Enable-SPFeature -Identity 'Feature guid'  -Url $_.Url}

No comments:

Post a Comment