Author Posts

February 11, 2015 at 12:08 pm


I need to create a DSC Configuration that installs many applications. A lot of what I need is available as a Chocolatey package.

Can I run Chocolately from the DSC Config and how would I do that? Or should I use OneGet? (I wasn't sure how mature OneGet was yet)


February 11, 2015 at 12:15 pm

It depends on if you're talking v4 or v5. OneGet isn't in v4, obviously, and v5 is extremely beta still. OneGet, by definition, is not mature yet.

Microsoft doesn't have a Chocolatey resource, so you'd either have to get one from the community (they exist) or build your own. Alternately, if your logic is simple enough, you could build a Script resource that runs a Chocolatey command.

February 11, 2015 at 9:22 pm

Looks like multiple people have written this:

February 13, 2015 at 12:32 pm

Thanks! I will give that a try.