microsoft / microsoft/winget-cli

Configuration PowerShell objects do not expose full data

Open
#4,384 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug PowerShell
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Brief description of your issue

The configuration PowerShell cmdlets do not always return the full objects that wrap their COM counterpart calls. All of the properties should be exposed so that callers of the PowerShell cmdlets can use them fully.

For instance:

  1. Units are not exposed on the configuration set
  2. The result object of applying a configuration set is only the HRESULT, not the full result object including the individual statuses

A full pass should be done to ensure that it is possible to fully inspect these objects.

Steps to reproduce

Use configuration cmdlets.

Expected behavior

Get full data.

Actual behavior

Get partial data.

Environment
Current code.

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

Start with the configuration PowerShell cmdlets and the COM counterpart calls they wrap. Compare the configuration set properties and the result returned when applying a set, including individual statuses. Done means callers can inspect the full data exposed by these configuration objects rather than only partial properties or an HRESULT.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, powershell
Domain
api, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.