You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enhance state reporting for complex resources #1659
As a system administrator configuring infrastructure with DSC,
I want to know which sub-properties and array items are out-of-state or were changed,
So that I don't have to manually compare complex objects and array items manually.
Currently, the DSC engine can only report when top-level properties are out of state (for test operations) or changed (for set operations). For resources with array and object properties, this requires the user to carefully review the desired/actual or before/after state for the property to understand which subproperty or array item triggered the reporting for the top-level field.
For example, consider the following output snippet for the result of a test operation:
desiredState:
foo:
bar: truebaz: falsefruit: ['apple', 'banana']actualState:
foo:
bar: falsebaz: falsefruit: ['apple']differingProperties: ['foo', 'fruit']
This problem is amplified for resources with more deeply nested objects and arrays.
WG discussed this and would prefer exploring a diff extension to allow different tools to be able to provide a more detailed graphical (even TUI) view of the diff. We would like an RFC on this new extension proposal.
Activity
SteveL-MSFT commentedon Sep 24, 2026
WG discussed this and would prefer exploring a
diff extensionto allow different tools to be able to provide a more detailed graphical (even TUI) view of the diff. We would like an RFC on this new extension proposal.