def list_available():
 cmd = 'Import-Module ServerManager; Get-WindowsFeature -ErrorAction SilentlyContinue -WarningAction SilentlyContinue'
 return __salt__['cmd.shell'](cmd, shell='powershell')

def list_available ( ) : cmd = 'Import-Module ServerManager; Get-WindowsFeature -ErrorAction SilentlyContinue -WarningAction SilentlyContinue' return __salt__ [ 'cmd.shell' ] ( cmd , shell = 'powershell' )
list available features to install :return: a list of available features :rtype: list cli example: .