Examples of using Script (or other) "in-the-box" DSC Resource with Winget Configure #3764
Replies: 2 comments 3 replies
-
This is not the best example, and we are working on documentation. Notably, when a script resource is used, the get and test methods should be idempotent and perform a "no-op" if the thing to be configured is in the desired state. This comment has an example of using the PSDResources/Script DSC Resource: |
Beta Was this translation helpful? Give feedback.
-
@codekaizen, |
Beta Was this translation helpful? Give feedback.
-
I've use the winget configure YAML file samples to build a script that installs various tools on a developer machine. I want to use the Script DSC Resource but there are no examples of how to do this.
The properties that a given DSC resource needs could be linked to or examples given. Otherwise, this feature is very hard to understand and make use of.
Beta Was this translation helpful? Give feedback.
All reactions