Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(GH-178) Document dsc exit codes #179

Merged

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
3 checks passed
@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