DSC newb. Automating MOF file creation?

This topic contains 1 reply, has 2 voices, and was last updated by  Don Jones 1 year, 2 months ago.

  • Author
  • #68653

    Dan Potter

    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?

  • #68715

    Don Jones

    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.

You must be logged in to reply to this topic.