Setting A Windows Application To Run Indefinitely With Powershell
If you’re used to bash and new to PowerShell, even the simplest of tasks can be confusing. For all the Linux admins forced to use Windows Server, here’s how to set configure a program to run as an auto-restarting daemon. While ($true), Start-Process In PowerShell, you can loop like many programming and scripting languages. The syntax is while($true) followed by braces for the loop. In this loop, we’re going to launch the process with Start-Process....