https://github.com/patriote2047/installer_powershell7_auto-update
Ce script automatise l'installation de PowerShell 7 sur Windows avec des fonctionnalités avancées de vérification et de configuration.
https://github.com/patriote2047/installer_powershell7_auto-update
Last synced: 2 months ago
JSON representation
Ce script automatise l'installation de PowerShell 7 sur Windows avec des fonctionnalités avancées de vérification et de configuration.
- Host: GitHub
- URL: https://github.com/patriote2047/installer_powershell7_auto-update
- Owner: patriote2047
- Created: 2024-11-21T15:36:26.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-21T15:40:04.000Z (6 months ago)
- Last Synced: 2025-02-04T09:33:25.364Z (4 months ago)
- Language: PowerShell
- Size: 257 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🚀 Script d'Installation PowerShell 7
[](https://github.com/PowerShell/PowerShell)
[](https://www.microsoft.com/windows)
[](https://github.com/your/repo)
[](https://opensource.org/licenses/)> 🔧 Ce script automatise l'installation de PowerShell 7 sur Windows avec des fonctionnalités avancées de vérification et de configuration.
---
## ✨ Fonctionnalités
- 🛡️ Vérification automatique des privilèges administrateur
- 🔍 Détection de l'installation existante de PowerShell 7
- ⬇️ Téléchargement automatique de la dernière version stable depuis GitHub
- ⚙️ Installation silencieuse avec options optimisées
- 🔄 Configuration automatique du PATH système
- 📝 Support de l'encodage UTF-8
- 🎨 Interface utilisateur avec retours visuels colorés
## 📋 Prérequis
| Composant | Version/Détail |
|-----------|---------------|
| 💻 Windows | 7 ou supérieur |
| 👑 Droits | Administrateur |
| 🌐 Internet | Connexion requise |## 📖 Utilisation
1. 📥 Exécutez le script `Install-PowerShell7.ps1`
2. 🛡️ Si nécessaire, le script demandera automatiquement les privilèges administrateur
3. 🔍 Le script vérifiera si PowerShell 7 est déjà installé
4. ❓ Si une installation est nécessaire, une confirmation sera demandée
5. ⚙️ L'installation se déroulera automatiquement avec retours visuels
6. 🔄 Une fois terminé, redémarrez votre terminal pour utiliser PowerShell 7## 📥 Installation depuis GitHub
### Méthode rapide (PowerShell)
```powershell
# Télécharger et exécuter directement (Non recommandé pour la sécurité)
irm https://raw.githubusercontent.com/patriote2047/Install-PowerShell7/main/Install-PowerShell7.ps1 | iex
```### Méthode sécurisée (Recommandée)
1. 📥 Cloner le dépôt
```powershell
git clone https://github.com/patriote2047/Install-PowerShell7.git
cd Install-PowerShell7
```2. 🔍 Vérifier le contenu du script (optionnel mais recommandé)
```powershell
code Install-PowerShell7.ps1 # ou notepad Install-PowerShell7.ps1
```3. ▶️ Exécuter le script
```powershell
.\Install-PowerShell7.ps1
```> ⚠️ **Note de sécurité** : Il est toujours recommandé de vérifier le contenu d'un script avant de l'exécuter.
## ⚙️ Options d'Installation
Le script configure automatiquement :
- 📂 Menu contextuel dans l'Explorateur Windows
- 🔌 PowerShell Remoting
- 📝 Enregistrement du manifeste système
- 🔄 Variables d'environnement PATH## 🔧 Dépannage
| Problème | Solution |
|----------|----------|
| ❌ Échec de l'installation | Vérifiez vos droits administrateur |
| 🌐 Erreur de téléchargement | Vérifiez votre connexion Internet |
| 🔄 PowerShell absent du PATH | Redémarrez votre terminal |## 👤 Auteur
**Cascade** - 2024
### 🌟 N'hésitez pas à utiliser et partager ce script ! 🌟
## 📜 Licence
Ce script est fourni tel quel, sans garantie. Utilisez-le à vos propres risques.
---
[](https://github.com/your/repo)