小编Hid*_*ath的帖子

从批处理文件执行多个PowerShell脚本时出现问题

我有一个调用3个PowerShell脚本的.bat基本上bat文件看起来像这样

PScript1
Pscript2
Pscript3
Run Code Online (Sandbox Code Playgroud)

在Pscript1之后,批处理文件不执行Pscript2或Pscript3,它会停止并且似乎不会将控制权返回给批处理文件.有谁知道什么可能导致这个问题?

powershell batch-file

0
推荐指数
1
解决办法
3836
查看次数

标签 统计

batch-file ×1

powershell ×1