The Node element within DSC Configuration accepts an array as computer names. We can use Powershell to generate computer names in the form of an array and pass the same to the node element.
This would generate a unique MOF file for each computer name found in Domain controller.
It would generate multiple MOF files at “C:\MofFiles” folder, each representing a computer or server.
Hope you would find this post useful.
Cheers!!

Leave a reply to Desired State Configuration: Configuring LCM of all machines in Domain Controller (Pull mode) | Automation Next Cancel reply