Apply Windows-Features to all nodes

Welcome Forums DSC (Desired State Configuration) Apply Windows-Features to all nodes

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

 
Keymaster
2 years, 9 months ago.

  • Author
    Posts
  • #33871

    Participant
    Points: 0
    Rank: Member

    Good morning all,

    I am trying to write a Config using the technique shown in the MVA on DSC where there is a has table created and the script loops through the hash table and applies configs based on nodes role.

    I want to know how do I create a section/filter that applies to all nodes?

    Regards
    Rhys

  • #33944

    Keymaster
    Points: 7
    Rank: Member

    That's a "hash table," and it's called a Configuration Data section. You can add an AllNodes section; I believe "The DSC Book" (free, Resources menu here) includes an example with an AllNodes section.

The topic ‘Apply Windows-Features to all nodes’ is closed to new replies.