Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Powershell 7.4.6 install on Windows Server 2025

Đang mở
#792 0 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
powershell
Lĩnh vực
documentation, tooling

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện quá trình cài đặt Getting Started trên Windows Server 2025 với PowerShell 7.4.6 có đặc quyền nâng cao, sau đó so sánh với lần chạy Windows PowerShell thành công. Kiểm tra xem quá trình cài đặt có hoàn tất hay không và tài liệu có nêu rõ hỗ trợ PowerShell 7 cũng như bao gồm các bước cần thiết để ký CA của Icinga2 hay không.

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

Mô tả

Install Icinga for Windows on a Windows Server 2025 via elevated PowerShell 7.4.6 following the steps here

Output from process:

[Notice]: PowerShell Execution-Policies are configured to run Scripts and/or Modules.  
The following directories are available for installing PowerShell modules into:  
[0]: C:\Users\art\Documents\PowerShell\Modules  
[1]: C:\Program Files\PowerShell\Modules
[2]: c:\program files\powershell\7\Modules
[3]: C:\Program Files\WindowsPowerShell\Modules (Recommended)
[4]: C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
[5]: C:\Program Files\Intel\Wired Networking\
Where do you want to install the Icinga PowerShell Framework into? ([0-5]) (Defaults: "3"): 3
[Notice]: Downloading Icinga PowerShell Framework into "C:\Users\art\AppData\Local\Temp\3\icinga-powershell-framework-zip"
[Notice]: Installing Icinga PowerShell Framework into "C:\Program Files\WindowsPowerShell\Modules"
[Notice]: Installing new Icinga PowerShell Framework version
[Notice]: Unblocking Icinga PowerShell Framework files
[Notice]: Applying pending migrations required for Icinga for Windows v1.8.0

At which point, the script just hangs. Looking around, there is no Icinga service installed.

Hitting Control-C and attempting to re-run the script outputs this and it just hangs.

[Notice]: PowerShell Execution-Policies are configured to run Scripts and/or Modules.
[Notice]: Icinga PowerShell Framework is already installed. Using Framework functions for kickstarter.
[Notice]: Loading Icinga PowerShell Framework.

To work around the PowerShell 7 install issue, I opened a Windows PowerShell elevated pro mpt and did a
Uninstall-IcingaForWindows

I then followed the same exact install instructions and process under Windows PowerShell and everything worked just fine.

Is PowerShell 7.x not supported I so, it would be great if the documentation clearly stated this!

Also, after installation it was not clear to me that I have to do a:

Icinga2 ca list
Icinca2 ca sign <thumbprint>
Ngôn ngữ chính
PowerShell
Star
86
Fork
34
Merge trung bình
4 ngày 11 giờ
Pull request đã merge (30 ngày)
2

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 Icinga/icinga-powershell-framework

Tất cả issue của Icinga/icinga-powershell-framework

Issue tương tự

Thêm issue về Documentation

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.