diff options
author | nitzmahone <mdavis@ansible.com> | 2016-09-09 09:43:19 -0700 |
---|---|---|
committer | nitzmahone <mdavis@ansible.com> | 2016-09-09 09:43:19 -0700 |
commit | 8b71bb13cefa6f8eae3582ef96f96ae69bfa0345 (patch) | |
tree | db473f0b19f2e16d2a594667857ed3c137547e55 | |
parent | 19e00cf160b98a392d4ba0e9288b09fbb349b1cf (diff) | |
parent | 5864ae50c6161d1392bf99e15b3e365bd78a485d (diff) | |
download | ansible-8b71bb13cefa6f8eae3582ef96f96ae69bfa0345.tar.gz |
Merge branch 'patch-1' of git://github.com/jlehtniemi-broadsoft/ansible into HEAD
-rw-r--r-- | examples/scripts/ConfigureRemotingForAnsible.ps1 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/scripts/ConfigureRemotingForAnsible.ps1 b/examples/scripts/ConfigureRemotingForAnsible.ps1 index e23a60b721..8d778c54e8 100644 --- a/examples/scripts/ConfigureRemotingForAnsible.ps1 +++ b/examples/scripts/ConfigureRemotingForAnsible.ps1 @@ -103,6 +103,8 @@ ElseIf ((Get-Service "WinRM").Status -ne "Running") { Write-Verbose "Starting WinRM service." Start-Service -Name "WinRM" -ErrorAction Stop + Write-Verbose "Start WinRM service automatic" + Set-Service -Name "WinRM" -StartupType Automatic } # WinRM should be running; check that we have a PS session config. |