
Set service recovery options in PowerShell
PowerShell still often relies on sc.exe for Windows service recovery actions, and this example shows how to configure restart behavior for…
microsoft windowspc monitorpowershellpulsewayrecovery optionssc.exe