winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

Configuration PowerShell objects do not expose full data

Open JohnMcPMS opened this issue 1 year ago • 0 comments

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.

JohnMcPMS avatar Apr 16 '24 18:04 JohnMcPMS