Monday, January 16, 2012

Powershell script disable feature Sharepoint 2010 site collection

$singleSiteCollection = Get-SPSite -Identity http://yoursite.com/
Disable -SPFeature $MyFeatureId -Url $singleSiteCollection.URL

No comments:

Post a Comment