"The type is not a known type for the file system" error message misses Junction and HardLink
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
- 65/100
Hướng nghiên cứu
Chạy lệnh New-Item được báo cáo với một loại không được hỗ trợ để tái hiện lỗi hiện tại. Tìm nguồn của thông báo xác thực loại hệ thống tệp này, cập nhật các loại được hỗ trợ được liệt kê trong đó để bao gồm "junction" và "hardlink", rồi xác minh rằng đầu ra khớp với hành vi mong đợi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
- Refer to the FAQ.
- Refer to Differences between Windows PowerShell 5.1 and PowerShell.
Steps to reproduce
New-Item -Path:"TEMP:/demo" -Type:SomethingNotSupported
Expected behavior
New-Item: The type is not a known type for the file system. Only "file","directory","symboliclink","junction" or "hardlink" can be specified.
Actual behavior
New-Item: The type is not a known type for the file system. Only "file","directory" or "symboliclink" can be specified.
Error details
Environment data
Name Value
---- -----
PSVersion 7.6.0
PSEdition Core
GitCommitId 7.6.0
OS Microsoft Windows 10.0.26200
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.4
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Visuals
No response
- Ngôn ngữ chính
- C#
- Star
- 55.5k
- Fork
- 8.5k
- Merge trung bình
- 1 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 107
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PowerShell/PowerShell
-
Issue-Enhancement Needs-Triage WG-Cmdlets
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
PowerShell/PowerShell#28061 · 1 bình luận · 2 reaction ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
PowerShell/PowerShell#28037 ·
-
Needs-Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
PowerShell/PowerShell#27973 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
PowerShell/PowerShell#27720 ·
-
Issue-Bug Up-for-Grabs WG-Cmdlets WG-Reviewed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
PowerShell/PowerShell#27670 · 3 bình luận ·
Tất cả issue của PowerShell/PowerShell
Issue tương tự
-
bug frontend good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
NavigationViewItemAutomationPeer implements IInvokeProvider but never advertises the Invoke pattern Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
unoplatform/uno#24629 ·
-
agentic-workflows Needs: Triage :mag: State: In-PR
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
CS0162 "Unreachable code detected" warning from a MSBuildTemp .tmp file in every game project Đang mởbug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
Type: enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
apache/arrow-adbc#4809 ·