tis-powershell icon

PowerShell

Paquet d'installation silencieuse pour PowerShell

7.6.4-15
System and network
Development
System and network
Development

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • package: tis-powershell
  • name: PowerShell
  • version: 7.6.4-15
  • categories: System and network,Development
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: Microsoft
  • licence: MIT
  • locale: all
  • target_os: darwin
  • impacted_process: pwsh
  • architecture: arm
  • signature_date:
  • size: 72.14 Mo
  • installed_size: 270.17 Mo
  • homepage : https://docs.microsoft.com/powershell/
  • conflicts :

package           : tis-powershell
version           : 7.6.4-15
architecture      : arm
section           : base
priority          : optional
name              : PowerShell
categories        : System and network,Development
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : PowerShell is an automation and configuration tool/framework. It includes a command-line shell, an associated scripting language and a framework for processing cmdlets
depends           : 
conflicts         : tis-powershell-core-lts,tis-powershell-lts
maturity          : PREPROD
locale            : all
target_os         : darwin
min_wapt_version  : 2.1
sources           : https://github.com/PowerShell/PowerShell/releases
installed_size    : 270172160
impacted_process  : pwsh
description_fr    : PowerShell est un outil/framework d'automatisation et de configuration. Il comprend un shell de ligne de commande, un langage de script associé et un framework pour le traitement des cmdlets
description_pl    : PowerShell to narzędzie/framework do automatyzacji i konfiguracji. Zawiera powłokę wiersza poleceń, powiązany język skryptowy i ramy do przetwarzania cmdletów
description_de    : PowerShell ist ein Automatisierungs- und Konfigurationstool/Framework. Es umfasst eine Befehlszeilen-Shell, eine zugehörige Skriptsprache und ein Framework für die Verarbeitung von Cmdlets
description_es    : PowerShell es una herramienta/marco de automatización y configuración. Incluye un shell de línea de comandos, un lenguaje de scripting asociado y un marco para procesar cmdlets
description_pt    : PowerShell é uma ferramenta/quadro de automação e configuração. Inclui uma shell de linha de comando, uma linguagem de scripting associada e uma estrutura para processar cmdlets
description_it    : PowerShell è uno strumento/framework di automazione e configurazione. Include una shell a riga di comando, un linguaggio di scripting associato e un framework per l'elaborazione di cmdlet
description_nl    : PowerShell is een tool/framework voor automatisering en configuratie. Het omvat een commandoregel, een bijbehorende scripttaal en een raamwerk voor het verwerken van cmdlets
description_ru    : PowerShell - это инструмент/фреймворк автоматизации и конфигурирования. Он включает в себя оболочку командной строки, соответствующий язык сценариев и структуру для обработки команд
audit_schedule    : 
editor            : Microsoft
keywords          : powershell,power,shell,core,6,6.0,7.0,7
licence           : MIT
homepage          : https://docs.microsoft.com/powershell/
package_uuid      : a887ea53-f975-4d2b-8dea-1f41af0f87c6
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/PowerShell/PowerShell/tree/master/CHANGELOG
min_os_version    : 12
max_os_version    : 
icon_sha256sum    : f6328cb3e50d5a2c14f663481de0ea43f9712014ccd430db91c6b4dee2fb07ba
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-07-21T02:27:44.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : ihX17LnugUBHc/0I19gGQiMVWTKdcbhNpFyEaKy6YQkg2Y2Q6lJ2B+PZpVi6Qp0aBwzqc2hGiKRl/Fcnvy2oZabn8g3SRjCghvsvVR1THtjOG6UTTzeajScB+3KxONCYkgb5Hg5qGyjs5ocZMgclRYjYPsFloysNdcGAyXflwaUcYRexpfI3c2ZTO/fa/dwnomTyRXVOGb+B+VObmtHtkvmzPehpsPPsBxmmRBjwcPf+lVGges5foBo9CVh4JZVlmTHK7SEQ/0FAJjROoUudQz6p1df4FaTKntJ5fdk1GtrVV0KOFH2zfbMyXfuE0VOHN1PihzsutY1qKNlDPxYAvA==

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


def install():
    install_pkg(glob.glob("*powershell-*.pkg")[0])


def uninstall():
    uninstall_pkg("com.microsoft.powershell")
    uninstall_pkg("com.microsoft.powershell-lts")
    uninstall_app('PowerShell')

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

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "powershell-"


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    git_repo = "PowerShell/PowerShell"
    api_url = "https://api.github.com/repos/%s/releases/latest" % git_repo

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for download in json_load["assets"]:
        if bin_contains in download["name"] and download["name"].endswith(".pkg") and control.architecture in download["name"]:
            download_url = download["browser_download_url"]
            version = json_load["tag_name"].replace("v", "")
            latest_bin = download["name"]
            if "arm" in latest_bin:
                continue
            break

    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        result = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
    # control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return result

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
92afd9b5074868e578abfd3d60068f6fe4d50617ff5c3eace92e25ea57e54a53 : WAPT/changelog.txt
7897ac7d10bf99372abdfaae22dcc791d4a3e56dff4d28dec44e5912ac0277d6 : WAPT/control
f6328cb3e50d5a2c14f663481de0ea43f9712014ccd430db91c6b4dee2fb07ba : WAPT/icon.png
0dec05220894878b72dafeb2b80fba083bbc4d1869e8d21cefce7509547776aa : luti.json
60f9d697c808021af69df293bf3b963cd2b0b4e1789ab08fef3d06562854624f : powershell-lts-7.6.4-osx-arm64.pkg
3d0db905ce34e10025703452ee08febef40d7fa0a25bdea6a19e2fbe2d512f99 : setup.py
f74f14b452768274b37d73ad58a55fa029f7dcd3bca7f56f358d35cab905d1f2 : update_package.py

https://github.com/PowerShell/PowerShell/tree/master/CHANGELOG
7.2.6-15

Migrate package name from tis-powershell-core to tis-powershell, the code have been adapted for it on Windows