Skip to content

docs: Add known issue for numeric string coercion in Windows PowerShell#1526

Open
Gijsreyn wants to merge 2 commits intoPowerShell:mainfrom
Gijsreyn:add-schema-error
Open

docs: Add known issue for numeric string coercion in Windows PowerShell#1526
Gijsreyn wants to merge 2 commits intoPowerShell:mainfrom
Gijsreyn:add-schema-error

Conversation

@Gijsreyn
Copy link
Copy Markdown
Collaborator

@Gijsreyn Gijsreyn commented May 9, 2026

PR Summary

Whilst working on a fresh machine and adding docs for one of the built-in resources, working in Windows PowerShell revealed another known issue. This PR adds t04 to the troubleshooting guide documenting failures that can occur when running DSC configuration commands in Windows PowerShell containing string-typed properties quoted as "8080" (as an example).

Copilot AI review requested due to automatic review settings May 9, 2026 10:51
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new entry to the troubleshooting guide documenting a Windows PowerShell-specific failure mode where numeric-looking YAML strings (for string-typed schema properties) can be coerced to integers prior to schema validation.

Changes:

  • Added a new known issue (t04) describing numeric string coercion to integers in Windows PowerShell.
  • Documented expected error output, reproduction context, and suggested workarounds (use PowerShell 7+ and/or --file - via stdin).

Comment thread docs/troubleshooting/known-issues.md
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