DSC newb. Automating MOF file creation?

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Don Jones Don Jones 2 weeks, 2 days ago.

  • Author
    Posts
  • #68653
    Profile photo of Dan Potter
    Dan Potter
    Participant

    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
    Profile photo of Don Jones
    Don Jones
    Keymaster

    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.