Agendador de tarefas PowerShell fecha imediatamente

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