PowerShell / DSC

This repo is for the DSC v3 project
MIT License
133 stars 22 forks source link

Update internal `invoke_command()` to retrieve the exit code description from manifest #431

Closed SteveL-MSFT closed 2 weeks ago

SteveL-MSFT commented 1 month ago

Summary of the new feature / enhancement

Currently, if the exit code is non-zero, the function returns it as an error. however, the resource manifest can describe what specific exit codes mean. The helper function should be updated so that if the exit code maps to one in the manifest, that information is shown, otherwise it's "unknown".

Proposed technical implementation details (optional)

No response