SharePoint 2010: Disable Feature on all Web Applications PowerShell

Because it’s easier to copy+paste this later… This will disable a feature on all web applications in a farm. Very convenient for when you’re removing a feature from a solution.

Get-SPWebApplication | ForEach-Object {Disable-SPFeature "Solution.Name.FeatureName" -url $_.Url;}