Example to use parameters in a configuration.dsc.yaml file #4850
FrancisGauthier
started this conversation in
Configuration
Replies: 1 comment
-
We're looking at the schema for DSC v3 which includes support for parameters. In a future preview release we will include experimental support. There is an example over in the PowerShell DSC project. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Ive been experimenting winget configure using a yaml file to set up work stations for developpers.
I want to use parameters to set up the dev drive letter
here is a part of the actual yaml file with the drive letter hardcoded to "E:"
i would like to use a parameter, so a developper could set up the drive letter to "Z:" instead.
Another benefit would be that we won't have to scan to whole file to find out where the devdrive ressource is in order to change the setting value.
I saw that there is a "parameters" defined in the winget configure schema file. Are there examples available? I do not see any in the doc neither on microsoft's documentation. Here is the part of the schema that i am referencing to:
Thanks
Beta Was this translation helpful? Give feedback.
All reactions