I think the exit code task scheduler is reporting is for running powershell.exe not your script. Try changing it to this:
確定! 回上一頁