Skip to content

(GH-178) Document dsc exit codes#179

Merged
SteveL-MSFT merged 2 commits intoPowerShell:mainfrom
michaeltlombardi:gh-178/main/exit-codes
Sep 1, 2023
Merged

(GH-178) Document dsc exit codes#179
SteveL-MSFT merged 2 commits intoPowerShell:mainfrom
michaeltlombardi:gh-178/main/exit-codes

Conversation

@michaeltlombardi
Copy link
Collaborator

PR Summary

Prior to this change, the documentation for the dsc command did not include the exit codes that it may return. This change adds a section to the documentation that lists the exit codes and their meanings.

PR Context

This information is particularly important to integrating tools, like winget, that need to know the semantic meaning of the exit codes when calling dsc.

michaeltlombardi added a commit to michaeltlombardi/DSC that referenced this pull request Aug 31, 2023
Prior to this change, the resource manifests for the built-in `DSC/*` group resources
only defined the `0` exit code for success. This change:

- Adds the other exit codes to the manifests, based on PowerShell#179
- Resolves PowerShell#181
Prior to this change, the documentation for the `dsc` command did not
include the exit codes that it may return. This change adds a section
to the documentation that lists the exit codes and their meanings.

This information is particularly important to integrating tools, like
winget, that need to know the semantic meaning of the exit codes when
calling `dsc`.

- Resolves PowerShell#178
@SteveL-MSFT SteveL-MSFT merged commit 998d936 into PowerShell:main Sep 1, 2023
@michaeltlombardi michaeltlombardi deleted the gh-178/main/exit-codes branch September 1, 2023 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document exit codes for dsc

4 participants