README.md aktualisiert
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# PowerShell Skripte
|
||||
|
||||
Die Skripte in diesem Verzeichnis **erfordern PowerShell 7** (auch bekannt als PowerShell Core).
|
||||
Das klassische Windows PowerShell 5.1 (das blaue Fenster) wird **nicht unterstützt**.
|
||||
Die Skripte in diesem Verzeichnis **erfordern PowerShell 7**.
|
||||
Das klassische Windows PowerShell 5.1 wird zum teil **nicht unterstützt**.
|
||||
|
||||
---
|
||||
|
||||
@@ -14,7 +14,7 @@ Das klassische Windows PowerShell 5.1 (das blaue Fenster) wird **nicht unterstü
|
||||
|
||||
### Option 2: Winget (Terminal / Kommandozeile)
|
||||
```powershell
|
||||
winget install --id Microsoft.PowerShell --source winget
|
||||
winget install Microsoft.PowerShell
|
||||
```
|
||||
|
||||
### Option 3: Manueller Download
|
||||
@@ -43,13 +43,6 @@ cd "C:\Pfad\zum\Skript-Ordner"
|
||||
.\MeinSkript.ps1
|
||||
```
|
||||
|
||||
### Tipp: Direkt per Rechtsklick (optional einrichten)
|
||||
Mit dem folgenden Befehl (einmalig in PS7 als Administrator ausführen) lässt sich
|
||||
ein „Mit PowerShell 7 ausführen"-Eintrag im Kontextmenü hinzufügen:
|
||||
```powershell
|
||||
pwsh -Command "& { $key = 'HKCR\Microsoft.PowerShellScript.1\Shell\Open with PowerShell 7'; reg add $key /ve /d 'Mit PowerShell 7 ausführen' /f; reg add \"$key\Command\" /ve /d 'pwsh.exe -File \"%1\"' /f }"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Prüfen ob PowerShell 7 aktiv ist
|
||||
|
||||
Reference in New Issue
Block a user