def install_windowsfeatures(name):
    choc_path = _find_chocolatey(__context__, __salt__)
    cmd = [choc_path, 'windowsfeatures', name]
    cmd.extend(_yes(__context__))
    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 install a Windows Feature via the Deployment Image
dataset/ETHPy150Open saltstack/salt/salt/modules/chocolatey.py/install_windowsfeatures