Install-PackageProvider with Windows DSC

Welcome Forums DSC (Desired State Configuration) Install-PackageProvider with Windows DSC

This topic contains 2 replies, has 3 voices, and was last updated by

 
Participant
2 years, 12 months ago.

  • Author
    Posts
  • #39221

    Participant
    Topics: 7
    Replies: 8
    Points: 0
    Rank: Member

    How can I add a package provider with Windows DSC? I want to add Chocolatey but I cannot find any documentation on how to do this via DSC.

    (Please note I don't want the cChoco module)

  • #39471

    Keymaster
    Topics: 13
    Replies: 4872
    Points: 1,811
    Helping HandTeam Member
    Rank: Community Hero

    Right now, I don't think anyone's written a DSC resource that adds a Package Provider. So you'd need to write a resource that did that. Or, just use a generic Script resource to call the Register- command.

  • #39896

    Participant
    Topics: 12
    Replies: 14
    Points: 0
    Rank: Member

    Sounds like a good excuse for me to learn the new class syntax 🙂

The topic ‘Install-PackageProvider with Windows DSC’ is closed to new replies.

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