System PowerShell, not PowerShell 7

Aperta
#282 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
shell
Ambito
cli

Direzione di ricerca

The payload names no files. Its entry points are the OSD cmdlets in the reproduction steps, such as New-OSDCloudTemplate and Update-OSDCloudUSB, which should be searched in the repository to find where a PowerShell version check could go. Done means either an early exit with a clear message when PowerShell 7 is detected, or a documentation note that PowerShell 7 is unsupported. The maintainer has not chosen between the two, and the issue has been quiet for over a year, so confirm the direction before starting.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Unfortunatly I wasted a few hours not realising that the new PowerShell doesn't run the scripts correctly but still run to completion. Can I suggest an early exit, or a message in the documentation that the new PowerShell is not supported yet, to remind users like me?

steps to reproduce:
open terminal app with PowerShell 7.5.1

Install-Module OSD -Force
New-OSDCloudTemplate -Language en-gb -SetInputLocale en-US -SetAllIntl en-au -Verbose
New-OSDCloudWorkspace
New-OSDCloudUSB
Edit-OSDCloudwinPE -CloudDriver *
Update-OSDCloudUSB -OSName 'Windows 11 24H2' -OSLanguage en-gb -OSActivation Retail
Lingua principale
PowerShell
Stelle
251
Fork
102
Merge medio
2m
PR unite (30g)
4

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OSDeploy/OSD

Tutte le issue di OSDeploy/OSD

Issue simili

Altre issue su CLI

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.