Skip to content

Conversation

@guillermooo
Copy link

@guillermooo guillermooo commented Jan 27, 2026

PR Summary

Add a new sample for Windows PowerShell showcasing a few DSC features for Resource developers, such as logging errors.

There are a few questions left. For example, it's unclear to me whether it's a good idea to do parameter validation in the resource implementation, or if the schemas provide better tools for that, but I couldn't figure out a better approach by reading the docs and skimming over the code base.

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.


Write-DSCTrace warn "This DSC Resource displays unredacted environment variable values."

Set-Variable -Option ReadOnly -Name Parameters -Value ($Input | ConvertFrom-Json)
Copy link
Author

Choose a reason for hiding this comment

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

This should rather be $InputObject.

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.

1 participant