Skip to content

docs: add examples for validating minimum operating system version with Microsoft/OSInfo#1623

Merged
michaeltlombardi merged 3 commits into
PowerShell:mainfrom
Gijsreyn:gh-1603/main/update-osinfo-docs
Jul 13, 2026
Merged

docs: add examples for validating minimum operating system version with Microsoft/OSInfo#1623
michaeltlombardi merged 3 commits into
PowerShell:mainfrom
Gijsreyn:gh-1603/main/update-osinfo-docs

Conversation

@Gijsreyn

Copy link
Copy Markdown
Collaborator

PR Summary

This pull request updates the Microsoft/OSInfo with the version comparisons implemented in #1603, including an example added.

PR Context

After addressing #1603.

Copilot AI review requested due to automatic review settings July 11, 2026 13:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Microsoft/OSInfo resource reference docs to reflect the newly implemented test operation and to document/version-example the version comparison constraint support added in #1603.

Changes:

  • Update Microsoft/OSInfo resource reference to describe native test behavior and version constraint syntax.
  • Add a new example demonstrating enforcing a minimum OS version via Microsoft.DSC/Assertion.
  • Wire the new example into the resource docs “Examples” list.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
docs/reference/resources/Microsoft/OSInfo/index.md Updates resource description/capabilities and documents version comparison constraints; links the new example.
docs/reference/resources/Microsoft/OSInfo/examples/validate-minimum-version.md Adds a new walkthrough example and sample output for minimum-version validation.
docs/reference/resources/Microsoft/OSInfo/examples/validate-minimum-version.config.dsc.yaml Adds the DSC configuration document used by the new example.

Comment thread docs/reference/resources/Microsoft/OSInfo/index.md
Comment thread docs/reference/resources/Microsoft/OSInfo/index.md
@michaeltlombardi michaeltlombardi added this pull request to the merge queue Jul 13, 2026
Merged via the queue into PowerShell:main with commit ea69c5b Jul 13, 2026
1 check 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.

3 participants