WssRemoveFeatureFromSite + BAT File

WssRemoveFeatureFromSite is a great tool to have in your 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
Related Posts with Thumbnails
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay

Leave a Reply