mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
8b71bb13ce
commit
ee080eddb5
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ ElseIf ((Get-Service "WinRM").Status -ne "Running")
|
|||
{
|
||||
Write-Verbose "Starting WinRM service."
|
||||
Start-Service -Name "WinRM" -ErrorAction Stop
|
||||
Write-Verbose "Start WinRM service automatic"
|
||||
Write-Verbose "Setting WinRM service to start automatically on boot."
|
||||
Set-Service -Name "WinRM" -StartupType Automatic
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue