How to specify credential for multiple Servers if we are applying Mof file to multiple servers using Start-dsc command
You can handle this in configuration data. Note, this documentation needs an update since in WMF 5+ the entire MOF file is automatically encrypted.
https://docs.microsoft.com/en-us/powershell/dsc/configdatacredentials