DSC newb. Automating MOF file creation?

I bought and read the dsc e-book in one sitting and I’m a bit overwhelmed:) I’m building a self service server build from helpdesk requests. The end user supplies the computername, network info etc.

Do you put params in the configuration script and then supply them in the start-dscconfiguration cmdlet?

  1. Build the config script.

  2. Run the config script - like you would a function. This is where you provide parameters, and it produces (a) MOF(s).

  3. Use Start-DscConfiguration to push the MOFs.