DSC "Property Sets"

Welcome Forums DSC (Desired State Configuration) DSC "Property Sets"

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

4 years, 1 month ago.

  • Author
  • #23622

    Topics: 2
    Replies: 1
    Points: 0
    Rank: Member

    Hey folks,

    PowerShell DSC Resources should support multiple “property sets,” similar to how PowerShell cmdlets support multiple “parameter sets.” The reasoning for this is essentially the same as parameter sets. For example, a “Process” DSC resource instance might be configured using the Name as the key property, in PropertySet1, and the Id as the key property in PropertySet2. That's an overly-simplified example, but the principle remains the same.

    If you feel it's appropriate, please vote on this PowerShell DSC enhancement request on Microsoft Connect.


    Trevor Sullivan
    Microsoft MVP: PowerShell

  • #23641

    Topics: 3
    Replies: 16
    Points: 0
    Rank: Member

    Good suggestion, I can see how that could be used to have one DSC resource cover different object types.

The topic ‘DSC "Property Sets"’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort