System PowerShell, not PowerShell 7

Abierto
#282 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
shell
Área
cli

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
PowerShell
Estrellas
251
Forks
102
Merge medio
2 min
PR fusionados (30 d)
4

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de OSDeploy/OSD

Todos los issues de OSDeploy/OSD

Issues similares

Más issues de CLI

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.