Windows update cookbook

hello,

im looking for cookbook that updates windows …can any one help me on this…!

Thanks
Prashanth

Hi,
The best place to start for searching for cookbooks is the ChefDK and the knife command.

To search for a cookbook, specifically ‘windows update’ use the following:

knife supermarket search 'windows update'

The output of this is as follows:

boxstarter:
cookbook:             https://supermarket.chef.io/api/v1/cookbooks/boxstarter
cookbook_description: Executes Chocolatey packages, windows updates, provides several windows configuration commands and can run any adhoc powershell in a reboot resilient context
cookbook_maintainer:  mwrock
cookbook_name:        boxstarter
omnibus_updater_windows:
cookbook:             https://supermarket.chef.io/api/v1/cookbooks/omnibus_updater_windows
cookbook_description: Upgrades chef-client on Windows systems
cookbook_maintainer:  biolauniversity
cookbook_name:        omnibus_updater_windows

...continued output...

The boxstarter cookbook looks interesting as it states it deals with ‘Windows Updates’ - To review the supermarket page for this I remove the ‘/api/v1’ from the URL and paste into a web browser.
So:

https://supermarket.chef.io/api/v1/cookbooks/boxstarter

Becomes:

https://supermarket.chef.io/cookbooks/boxstarter

Judging by the read me of this cookbook, that is the one you want.

I like this one https://supermarket.chef.io/cookbooks/wsus-client

or you can use DSC resource xWindowsUpdate in your own cookbook.

1 Like

Thank you sir…!

1 Like