System PowerShell, not PowerShell 7

Đang mở
#282 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
shell
Lĩnh vực
cli

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
PowerShell
Star
251
Fork
102
Merge trung bình
2 phút
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OSDeploy/OSD

Tất cả issue của OSDeploy/OSD

Issue tương tự

Thêm issue về CLI

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.