
Listing All SharePoint Server Features of Web Application dynamic by power shell
1. Writing the function to export all features of web application with parameter
function Get-SPFeatureActivated
{
[CmdletBinding()]
param(
[parameter(Mandatory=$true)][string]$Url,#Input your URL of web application
[parameter(Mandatory=$true)][string]$Path,#Input your file name which you want to export like (c:\features.csv)
...