def avail_modules(desc=False):
    cmd = 'Find-Module'
    modules = _pshell(cmd)
    names = []
    if desc:
        names = {}
    for module in modules:
        if desc:
            names[module['Name']] = module['Description']
            continue
        names.append(module['Name'])
    return names
List available modules in registered Powershell module repositories.
dataset/ETHPy150Open saltstack/salt/salt/modules/win_psget.py/avail_modules