mirror of
https://github.com/ansible/ansible-documentation.git
synced 2026-04-12 06:08:06 +07:00
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user