PowerShell-Skript zum Aktivieren oder Erstellen des **Ultimate Performance** Energie-Schemas unter Windows.
Funktionen
- Erkennt bereits vorhandene Ultimate Performance Schemata (auch Kopien)
- Aktiviert ein bestehendes Ultimate, anstatt ständig neue anzulegen
- Erstellt bei Bedarf ein neues Ultimate Performance Schema
- Vergibt beim Erstellen automatisch den Namen: **"Ultimate Performance for eXs-Client"**
- Funktioniert sprachunabhängig (Deutsch, Englisch, Französisch, Italienisch)
- Schreibt ein Logfile neben dem Skript
Voraussetzungen
- Windows 10 / Windows 11 (Pro, Enterprise oder Education empfohlen)
- PowerShell (funktioniert mit Windows PowerShell 5.1 und PowerShell 7)
- Administratorrechte (Skript führt sich selbst erhöht aus)
Verwendung
1. Skript als `.ps1` speichern
2. Rechtsklick auf die Datei → **Mit PowerShell ausführen**
3. UAC-Dialog bestätigen
Verhalten
- Wenn bereits ein Ultimate Performance aktiv ist → nichts tun
- Wenn ein Ultimate existiert, aber nicht aktiv ist → wird aktiviert
- Wenn kein Ultimate existiert → wird ein neues mit dem Namen `Ultimate Performance for eXs-Client` erstellt und aktiviert
Logfile
Das Skript erstellt automatisch eine Log-Datei im gleichen Ordner wie das Skript (`DeinSkriptName.log`).
Hinweise
- Auf manchen Systemen (besonders stark gepflegten Firmenrechnern) kann das Erstellen von Ultimate Performance fehlschlagen, da das Original-Template fehlt.
- Das Skript ist so konzipiert, dass es keine unnötigen Duplikate anlegt.
english:
PowerShell script to activate or create the **Ultimate Performance** power plan on Windows.
Features
- Detects existing Ultimate Performance schemes (including copies)
- Activates an existing Ultimate Performance instead of creating duplicates
- Creates a new Ultimate Performance scheme when none exists
- Automatically names newly created schemes: **"Ultimate Performance for eXs-Client"**
- Works language-independently (English, German, French, Italian)
- Creates a log file next to the script
Requirements
- Windows 10 or Windows 11 (Pro, Enterprise or Education recommended)
- PowerShell (works with Windows PowerShell 5.1 and PowerShell 7+)
- Administrator rights (the script elevates itself automatically)
Usage
1. Save the script as a `.ps1` file
2. Right-click the file → **Run with PowerShell**
3. Confirm the UAC prompt
Behavior
- If Ultimate Performance is already active → do nothing
- If an Ultimate Performance scheme exists but is not active → activate it
- If no Ultimate Performance exists → create a new one named `Ultimate Performance for eXs-Client` and activate it
Log File
The script automatically creates a log file in the same folder as the script (`YourScriptName.log`).
Notes
- On some systems (especially managed corporate devices), creating Ultimate Performance may fail if the original template is missing.
- The script is designed to avoid creating unnecessary duplicate schemes.
français:
Script PowerShell pour activer ou créer le plan d'alimentation **Ultimate Performance** sous Windows.
Fonctionnalités
- Détecte les plans Ultimate Performance existants (y compris les copies)
- Active un plan Ultimate Performance existant au lieu d'en créer des doublons
- Crée un nouveau plan Ultimate Performance s'il n'en existe aucun
- Nomme automatiquement les nouveaux plans créés : **"Ultimate Performance for eXs-Client"**
- Fonctionne de manière indépendante de la langue (anglais, allemand, français, italien)
- Crée un fichier journal à côté du script
Prérequis
- Windows 10 ou Windows 11 (Pro, Enterprise ou Education recommandé)
- PowerShell (fonctionne avec Windows PowerShell 5.1 et PowerShell 7+)
- Droits d'administrateur (le script s'élève automatiquement)
Utilisation
1. Enregistrez le script sous forme de fichier `.ps1`
2. Clic droit sur le fichier → **Exécuter avec PowerShell**
3. Confirmez l'invite UAC
Comportement
- Si Ultimate Performance est déjà actif → ne rien faire
- Si un plan Ultimate Performance existe mais n'est pas actif → l'activer
- S'il n'existe aucun plan Ultimate Performance → en créer un nouveau nommé `Ultimate Performance for eXs-Client` et l'activer
Fichier journal
Le script crée automatiquement un fichier journal dans le même dossier que le script (`NomDuScript.log`).
- Le script est conçu pour éviter la création de doublons inutiles.
italiano:
Ist eine Frage aufgetaucht? Dann erstellen Sie bitte direkt hier ein Ticket – wir kümmern uns darum!
Je genauer Sie Ihr Anliegen beschreiben, desto schneller können wir Ihnen weiterhelfen.
Remarques
- Sur certains systèmes (notamment les ordinateurs d'entreprise gérés), la création d'Ultimate Performance peut échouer si le modèle original est absent.- Le script est conçu pour éviter la création de doublons inutiles.
italiano:
Script PowerShell per attivare o creare il piano energetico **Ultimate Performance** in Windows.
Funzionalità
- Rileva i piani Ultimate Performance esistenti (inclusi le copie)
- Attiva un piano Ultimate Performance esistente invece di crearne duplicati
- Crea un nuovo piano Ultimate Performance se non ne esiste nessuno
- Assegna automaticamente il nome ai nuovi piani creati: **"Ultimate Performance for eXs-Client"**
- Funziona in modo indipendente dalla lingua (inglese, tedesco, francese, italiano)
- Crea un file di log accanto allo script
Requisiti
- Windows 10 o Windows 11 (Pro, Enterprise o Education consigliato)
- PowerShell (funziona con Windows PowerShell 5.1 e PowerShell 7+)
- Diritti di amministratore (lo script si eleva automaticamente)
Utilizzo
1. Salva lo script come file `.ps1`
2. Clic destro sul file → **Esegui con PowerShell**
3. Conferma il prompt UAC
Comportamento
- Se Ultimate Performance è già attivo → non fare nulla
- Se esiste un piano Ultimate Performance ma non è attivo → attivarlo
- Se non esiste alcun piano Ultimate Performance → crearne uno nuovo chiamato `Ultimate Performance for eXs-Client` e attivarlo
File di log
Lo script crea automaticamente un file di log nella stessa cartella dello script (`NomeScript.log`).
Note
- Su alcuni sistemi (soprattutto dispositivi aziendali gestiti), la creazione di Ultimate Performance potrebbe non riuscire se il modello originale non è presente.
- Lo script è progettato per evitare la creazione di duplicati non necessari.
Ist eine Frage aufgetaucht? Dann erstellen Sie bitte direkt hier ein Ticket – wir kümmern uns darum!
Je genauer Sie Ihr Anliegen beschreiben, desto schneller können wir Ihnen weiterhelfen.