PowerShell / PowerShell/DSC

Install PowerShell7 resource

Open
#417 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Enhancement Needs Triage
Dominant language
Rust
Stars
523
Forks
75
Avg merge
3d 16h
Merged PRs (30d)
24

Description

Summary of the new feature / enhancement

A resource that simply installs PowerShell7 (if not already installed, so test should be implemented probably). This solves some bootstrapping scenarios and only require dsc to then get PS7. This would be cross-platform abstracting install of msi/appx/rpm/deb/brew. On non-Windows, it would need to be a Bash script while on Windows, we could still rely on Windows PowerShell.

What we don't support is a way (without an exe) to call different scripts based on the OS. So we either need a small exe that just calls a script appropriate for the OS or add a capability in the resource manifest to do different commands based on the OS (seems like the latter would create more problems to handle many edge cases).

Proposed technical implementation details (optional)

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by clarifying the cross-platform command and resource design, then define how the resource detects an existing PowerShell 7 installation and installs it through the required Windows and non-Windows mechanisms; done means the resource works across the stated platforms and includes the proposed idempotence test.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, powershell
Domain
devops, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.