param(
[Parameter(Mandatory=$true)]
[string]$url
)
$wa = Get-SPWebApplication $url
foreach ($site in $wa.Sites)
{
Write-Host $site.Url -ForegroundColor Green
Disable-SPFeature -Id SFG_SharePointFormGenerator -Url $site.Url -Confirm:$false
}