Script Download: SetSPFeature.ziphttp://gallery.technet.microsoft.com/scriptcenter/Loop-through-sites-and-01662453
Sometimes we need to disable or enable some features on all sites. And this script is used to achieve that goal.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery