Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status


winrm (12) Versions 1.0.2

Installs and configures WinRM

cookbook 'winrm', '= 1.0.2', :supermarket
cookbook 'winrm', '= 1.0.2'
knife supermarket install winrm
knife supermarket download winrm
Quality 29%

WinRM Cookbook

Installs and configures WinRM on a Windows System

Build Status Code Climate Cookbook Version



  • Windows 7 Enterprise
  • Windows 2008
  • Windows 2008 R2

Notes: This cookbook has been tested on the listed platforms. It may work on other platforms with or without modification.


  • Chef 11+


  • Windows
  • Powershell



  • node['winrm']['thumbprint'] - The SSL thumbprint WinRM uses for incomming connections, will be generated if not found (only used when SSL is enabled)
  • node['winrm']['https'] - Enable SSL for WinRM, default 'true'
  • node['winrm']['http'] - Enable HTTP for WinRM, defautl 'true'
  • node['winrm']['BasicAuth'] - Support basic authentication, default 'true'
  • node['winrm']['MaxMemoryPerShellMB'] - Max memory per WinRM shell allowed in MB, default '1024'
  • node['winrm']['AllowUnencrypted'] - Allow unencrypted data transfers, default 'true'
  • node['winrm']['TrustedHosts'] - Hosts that are allowed to connect via WinRM, default '*'



Installs and configures WinRM on the windows system. Ensures firewall rules allow traffic to WinRM.

The recipe does the following:

  1. Search for thumbprint for the FQDN of the node, if found use it. Otherwise create a new self signed SSL certificate if SSL is enabled.
  2. Install WinRM via quick configure
  3. Configure listeners, HTTP and/or HTTPS
  4. Create SSH keys from data bag
  5. Create firewall rules if needed

License & Authors

Copyright 2014-2015, Webtrends Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

windows >= 0.0.0
powershell >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.


  • Added configurable Everyone group attribute

1.0.1 (10-16-2015)

  • Added Kitchen CI config
  • Added rubocop config
  • Added Berksfile
  • Added gitignore and chefignore filex
  • Moved Gemfile and add standard development dependencies
  • Fixed the license in the metadata to be Apache 2.0
  • Added modern Ruby releases to Travis and add rubocop and chefspec testing
  • Added retina badges to the readme and added the cookbook version badge

1.0.0 (02-14-2014):

  • Initial release of the WinRM cookbook
  • Adding support for Travis-CI and foodcritic

Collaborator Number Metric

1.0.2 failed this metric

Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric

1.0.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must contain a file

Foodcritic Metric

1.0.2 failed this metric

FC066: Ensure chef_version is set in metadata: winrm/metadata.rb:1
FC069: Ensure standardized license defined in metadata: winrm/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric

1.0.2 passed this metric

No Binaries Metric

1.0.2 failed this metric

Failure: Cookbook should not contain binaries. Found:

Testing File Metric

1.0.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must contain a file

Version Tag Metric

1.0.2 passed this metric