El programador de tareas PowerShell se cierra de inmediato

powershell -noexit d:\script\foo.ps1
Super Dude