来源:https://stackoverflow.com/questions/53887864/how-get-task-scheduler-to-detect-failed-error-code-from-powershell-script 标签 windows powershell exit-code taskscheduler