Need a powershell script to list all activated features, for all site collections/webs and to output to a csv, per Site Collection and to work on both 2010/2013.
Have seen things like this for a single SC but need it to re-iterate through ALL SCs in a Web App:
#------ Include the SharePoint cmdlets Add-PsSnapin Microsoft.SharePoint.PowerShell $SP_SiteCollection = "https://SPWebApp" Get-SPSite $SP_SiteCollection | % { $results = @() Get-SPFeature -Site $_ -Limit All | % { $feature = $_; $featuresDefn = (Get-SPFarm).FeatureDefinitions[$_.ID]; $cc = [System.Globalization.CultureInfo]::CurrentCulture; $obj = New-Object PSObject; $obj | Add-Member NoteProperty Title $($featuresDefn.GetTitle($cc)); $obj | Add-Member NoteProperty Hidden $($feature.Hidden); $results += $obj; } $results | FT -auto; } Any suggestions?