Differance WindowsFeature and WindowsOptionalFeature

Welcome Forums DSC (Desired State Configuration) Differance WindowsFeature and WindowsOptionalFeature

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

Senior Moderator
2 months, 3 weeks ago.

  • Author
  • #162729

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

    I got a list of features installed on a server, which i get by running

    (Get-WindowsFeature | where installed).Name

    But i can't say what feature is optional or not. My question is can i treat optional Features as WindowsFeatures in the DSC config?

  • #163707

    Senior Moderator
    Topics: 8
    Replies: 1043
    Points: 3,454
    Helping Hand
    Rank: Community Hero

    I think Nope, they are not same and there is another DSC resource to handle optional features – WindowsOptionalFeature

You must be logged in to reply to this topic.