tis-powershell
7.5.1-15
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
28726 téléchargements
Télécharger
Voir le résultat de la construction Voir l'analyse de VirusTotal

- package : tis-powershell
- name : PowerShell
- version : 7.5.1-15
- categories : System and network,Development
- maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
- editor : Microsoft
- licence : MIT
- locale : all
- target_os : rhel_based
- impacted_process : pwsh
- architecture : x64
- signature_date : 2025-04-27 22:13
- size : 74.98 Mo
- installed_size : 270.17 Mo
- homepage : https://docs.microsoft.com/powershell/
- conflicts :
package : tis-powershell
version : 7.5.1-15
architecture : x64
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 : PROD
locale : all
target_os : rhel_based
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 : b821a3ca-8c9a-4931-99f1-2cbe6d7d4030
valid_from :
valid_until :
forced_install_on :
changelog : https://github.com/PowerShell/PowerShell/tree/master/CHANGELOG
min_os_version : 7
max_os_version :
icon_sha256sum : f6328cb3e50d5a2c14f663481de0ea43f9712014ccd430db91c6b4dee2fb07ba
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-04-27T22:13:07.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 : YVmE7WJHo+yb4kJX63/vEEWKuxuob8oXQCOLqHzksPDvUfloLQnzEGMTwhxfwuHoAwkd3V+KqNtYuNjnM2938Yj0xtm9bluYa++DfWpRCi3Ltuo1ni/8u+oSHNWFKuKaQHpHTFgk0oBi6w9drprR1KjNvn006lIEj83CKAcvHJkJf0qaPcI3HyjxYUCzwl7q/47TR3fbpHcOKDqtnbU2rB3UQ5jVWKyB5kLXhGVF56x0PNgMV+ytrl1GqDbY6qB4bvF4CqTmm0JeJB0h+LihNZ83bgLN/74hdBP1nBMqS1nWhFirFHxyimlBZab9cEGkEwIqIi2RPWAVdAgZduqpMg==
# -*- coding: utf-8 -*-
from setuphelpers import *
# Installation procedure: https://docs.microsoft.com/powershell/scripting/install/installing-powershell-on-linux
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
package_name = "powershell"
lts_package_name = "powershell-lts"
def install():
# Declaring specific app values
package_version = control.get_software_version()
bin_name = glob.glob("*powershell-*.rpm")[0]
# Uninstalling the LTS version of the software
print("Uninstalling package: %s" % lts_package_name)
uninstall_yum(lts_package_name)
# Installing the software
print("Installing: %s" % bin_name)
install_yum(bin_name)
def uninstall():
# Uninstalling the software
print("Uninstalling package: %s" % package_name)
uninstall_yum(package_name)
# -*- 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
bin_ends = ".rh.x86_64.rpm"
# 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 bin_ends in download["name"]:
download_url = download["browser_download_url"]
version = json_load["tag_name"].replace("v", "")
latest_bin = download["name"]
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
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
92afd9b5074868e578abfd3d60068f6fe4d50617ff5c3eace92e25ea57e54a53 : WAPT/changelog.txt
aacf04bdf240cd436d6bc2f77a4eb464edc5a9dbda5057dc359523d01ae9f9e4 : WAPT/control
f6328cb3e50d5a2c14f663481de0ea43f9712014ccd430db91c6b4dee2fb07ba : WAPT/icon.png
2cbe2ce92bda9928f8bee3b96da82c65c6899c09ea72fc25fcf38a7e83cb2822 : luti.json
e25862e0f6ce02e74770353ed5d3b6f9429705b6e45d0453c5206fd41f2890d1 : powershell-7.5.1-1.rh.x86_64.rpm
b3b7b941bcb46c4ab8eb9e1e179cdbe05770a031f52ddef7d6c45a2c5f8a1113 : setup.py
c08b9d6f39b30ac1f480bb80ef9c08736bb5d089c3209c5d180cc8081ee11cac : update_package.py
7.2.6-15
Migrate package name from tis-powershell-core to tis-powershell, the code have been adapted for it on Windows