Install-PackageProvider with Windows DSC

This topic contains 2 replies, has 3 voices, and was last updated by Profile photo of TyMac TyMac 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #39221
    Profile photo of TyMac711
    TyMac711
    Participant

    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
    Profile photo of Don Jones
    Don Jones
    Keymaster

    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
    Profile photo of TyMac
    TyMac
    Participant

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

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.