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

(AB#263705) Fix description for example using [ValidateScript()] #11180

Conversation

michaeltlombardi
Copy link
Contributor

@michaeltlombardi michaeltlombardi commented Jun 11, 2024

PR Summary

Prior to this change, the example description in the article How to validate an argument using a script declared that the example validates that the input belongs to a set of possible values. That description belongs to a different example, using [ValidateSet()].

This change:

  • Corrects the example description to match the code.
  • Fixes AB#263705

PR Checklist

  • Descriptive Title: This PR's title is a synopsis of the changes it proposes.
  • Summary: This PR's summary describes the scope and intent of the change.
  • Contributor's Guide: I have read the contributors guide.
  • Style: This PR adheres to the style guide.

Prior to this change, the example description in the article
_How to validate an argument using a script_ declared that
the example validates that the input belongs to a set of
possible values. That description belongs to a different
example, using `[ValidateSet()]`.

This change:

- Corrects the example description to match the code.
- Fixes AB#263705
Copy link
Contributor

Learn Build status updates of commit 4eed9bc:

✅ Validation status: passed

File Status Preview URL Details
reference/docs-conceptual/developer/cmdlet/how-to-validate-an-argument-using-script.md ✅Succeeded View (>=powershell-5.1)

For more details, please refer to the build report.

For any questions, please:

@sdwheeler sdwheeler merged commit 9288d35 into MicrosoftDocs:main Jun 11, 2024
4 checks passed
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.

2 participants