tis-powershell

5.1-3
Windows Management Framework including Powershell
1190 downloads
Download

  Description 

  • package : tis-powershell
  • version : 5.1-3
  • architecture : all
  • categories : System and network
  • maintainer : WAPT Team,Hubert TOUVET,Jimmy PELÉ
  • description : Windows Management Framework including Powershell
  • locale :
  • target_os : windows
  • min_wapt_version : 1.5
  • sources : https://store.wapt.fr/store/tis-powershell
  • installed_size :
  • impacted_process :
  • description_fr : Windows Management Framework inclus Powershell
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : Microsoft
  • licence : MIT
  • signature_date : 2020-02-27T21:39:41.930455
  • Homepage : https://docs.microsoft.com/powershell/
  • Depends :

  Setup.py 

# -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []

#https://docs.microsoft.com/powershell/scripting/install/installing-windows-powershell


def is_kb_installed(hotfixid):
    installed_update = installed_windows_updates()
    if [kb for kb in installed_update if kb['HotFixID' ].upper() == hotfixid.upper()]:
        return True
    return False


def install():
    print('installing %s' % control.asrequirement())

    print('uninstalling older WMF versions')

    print('uninstalling WMF 3.0 (PowerShell 3.0')
    kb = '2506146'
    if is_kb_installed ('KB%s' % kb):
        run('wusa.exe /uninstall /kb:%s /quiet /norestart' % kb)

    kb = '2506143'
    if is_kb_installed ('KB%s' % kb):
        run('wusa.exe /uninstall /kb:%s /quiet /norestart' % kb)

    print('uninstalling WMF 4.0 (PowerShell 4.0')
    kb = '2819745'
    if is_kb_installed ('KB%s' % kb):
        run('wusa.exe /uninstall /kb:%s /quiet /norestart' % kb)

    kb = '2799888'
    if is_kb_installed ('KB%s' % kb):
        run('wusa.exe /uninstall /kb:%s /quiet /norestart' % kb)

    #print('uninstalling WMF 5.0 (PowerShell 5.0')
    print('A reboot is required !')


def update_package():
    pass

										

  Changelog 



https://www.microsoft.com/download/details.aspx?id=54616
									
  manifest.sha256