Power shell脚本返回特定的退出状态,Control-M无法读取该状态,但以不同的状态退出。请告诉我们如何退出Control-M作业,退出状态与power shell脚本返回的退出状态相同。
发布于 2016-03-28 21:16:50
Exit <custom error codes>
将从脚本返回自定义返回代码
发布于 2016-03-29 22:18:36
除此之外,最好是通过.bat文件调用Power Shell脚本。例如。
C:\Program Files\BMC Software\Control-M Agent\Default\Scripts\PS_log_check.bat
然后,
powershell软件"& 'C:\Program Files\BMC Software\ -command -M Agent\Default\Scripts\PS_log_check.ps1'“
https://stackoverflow.com/questions/36258356
复制相似问题