How can I start a background job in Powershell that outlives it’s parent?
If you use Start-Process, you create a new child process that has your powershell session as its parent process. If you kill the powershell parent process that starts this, the new process will be orphaned and keep running. It will, however, not survive if you kill the parent’s process tree Start-Process -FilePath notepad.exe Powershell cannot … Read more