DSC newb. Automating MOF file creation?

Welcome Forums DSC (Desired State Configuration) DSC newb. Automating MOF file creation?

This topic contains 1 reply, has 2 voices, and was last updated by

 
Keymaster
1 year, 8 months ago.

  • Author
    Posts
  • #68653

    Participant
    Points: 21
    Rank: Member

    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

    Keymaster
    Points: 1,704
    Helping HandTeam Member
    Rank: Community Hero

    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.

The topic ‘DSC newb. Automating MOF file creation?’ is closed to new replies.