Closed HeKr09 closed 2 years ago
What you want is Splatting. Unfortunately, this is not possible with DSC resources 😢.
Gael Colas has created a blog post here in which he describes an alternative. This is what he is using in his Datum module. More information and examples on how to use this module can be found here.
I just wonder every time what happens to the ressources if you pass an empty string. I always use the same configuration for all environments. I am just changing the input parameters. For example:
My configuration looks somewhat like this:
I wonder what happens when I want to pass the CentralAdministrationUrl? Can I use it this way so that the ressource doesn't use this value?
This is just an example. Is there an answer to all ressources or does this differ between the ressources?