Setup system /w DSC v2 Pull Server with ConfigurationNames and ConfigurationData

Hey guys,

I was wondering how this actually needs to be implememted when you use a single configuration that generates multiple MOFs when you feed it with configurationdata.

Here’s an example config that I’ve just created:

https://gist.github.com/megamorf/dd095329bb529afe4baa4ebdac13368d

Since both MOFs cannot have the same name because they need different credentials do I just change the ConfigurationNames directive in the LCM to match the node name?

That’s counter-intuitive but seems to be the only viable option, right?

If you want two different nodes to get two different MOFs, then yes, each node need to be pulling a unique configuration name. Using the node name for that is as good as anything else.