Skip to content

Instantly share code, notes, and snippets.

View fxfitz's full-sized avatar

Fran Fitzpatrick fxfitz

  • CenturyLink
  • San Antonio, TX
View GitHub Profile
@kgriffs
kgriffs / enable-winrm.ps1
Last active October 17, 2017 17:49
Enable WinRM (w2k8r2 or better)
# Configure a Windows host for remote management with Ansible
# -----------------------------------------------------------
#
# This script checks the current WinRM/PSRemoting configuration and makes the
# necessary changes to allow Ansible to connect, authenticate and execute
# PowerShell commands.
#
# Written by Trond Hindenes <trond@hindenes.com>
# Updated by Chris Church <cchurch@ansible.com>
# Updated by Kurt Griffiths <kurt.griffiths@rackspace.com>