WssRemoveFeatureFromSite + BAT File
WssRemoveFeatureFromSite is a great tool to have in your SharePoint arsenal.
I combined it with some Windows commands to create a batch file that removes multiple features from a site or sitecollection. This isn’t real complicated stuff, but most useful things aren’t.
set site=http://www.example.com/sites/site
set scope=site
:: Analytics
WssRemoveFeatureFromSite -scope %scope% -url %site% -featureid 56dd7fe7-a155-4283-b5e6-6147560601ee -force
:: BaseWeb
WssRemoveFeatureFromSite -scope %scope% -url %site% -featureid 99fe402e-89a0-45aa-9163-85342e865dc8 –force
October 7, 2009 | Posted by stewart
Categories:
Tags: