How to kill a service stuck in pending state.

How to kill a service stuck in pending state.

WinRM 'StopPending' issues Recently I logged into a machine and ran 'Enable-PSRemoting -Force' to end up with error code '2150858770'. WinRM service was in 'StopPending' state: [crayon-5a18c89a21cfd481861645/] So upon checking I found that the WinRM service was having issues: [crayon-5a18c89a21d05227493097/] Solution, force kill the service. All-right so what can we…continue reading →