mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Merge branch 'patch-1' of git://github.com/jlehtniemi-broadsoft/ansible into HEAD
This commit is contained in:
@@ -103,6 +103,8 @@ ElseIf ((Get-Service "WinRM").Status -ne "Running")
|
|||||||
{
|
{
|
||||||
Write-Verbose "Starting WinRM service."
|
Write-Verbose "Starting WinRM service."
|
||||||
Start-Service -Name "WinRM" -ErrorAction Stop
|
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.
|
# WinRM should be running; check that we have a PS session config.
|
||||||
|
|||||||
Reference in New Issue
Block a user