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