def list_modules(desc=False):
    cmd = 'Get-InstalledModule'
    modules = _pshell(cmd)
    if isinstance(modules, dict):
        ret = []
        if desc:
            modules_ret = {}
            modules_ret[modules['Name']] = copy.deepcopy(modules)
            modules = modules_ret
            return modules
        ret.append(modules['Name'])
        return ret
    names = []
    if desc:
        names = {}
    for module in modules:
        if desc:
            names[module['Name']] = module
            continue
        names.append(module['Name'])
    return names
Remove Data Unit from Pilot Data
dataset/ETHPy150Open saltstack/salt/salt/modules/win_psget.py/list_modules--crossover with--dataset/ETHPy150Open saga-project/BigJob/pilot/impl/pilotdata_manager.py/PilotData.remove_du