def list_windowsfeatures():
    choc_path = _find_chocolatey(__context__, __salt__)
    cmd = [choc_path, 'list', '-Source', 'windowsfeatures']
    result = __salt__['cmd.run_all'](cmd, python_shell=False)

    if result['retcode'] != 0:
        err = 'Running chocolatey failed: {0}'.format(result['stderr'])
        log.error(err)
        raise CommandExecutionError(err)

    return result['stdout']
Instructs Chocolatey to pull a full package list from the Windows Features
dataset/ETHPy150Open saltstack/salt/salt/modules/chocolatey.py/list_windowsfeatures