How to Use PowerShell to Restart a Crashed or Closed App/Process?
Core
Learn how to use PowerShell to check if a given application or process is running, as well as how to automatically resume it in the event of a crash, a user closing it by accident, or it consuming a lot of memory (memory leak). If (!(Get-Process -Name notepad -ErrorActionSilentlyContinue)) {Invoke-Item C:\Windows\notepad.exe } If a process...
Continue Reading