执行ps1脚本,加参数-NoExit无效

BUG反馈 · 35 次浏览
star 创建于 6天20小时前

如题,在ps1脚本执行时,脚本参数添加-NoExit不起作用。

自己手动运行powershell.exe -NoExit -NoProfile -ExecutionPolicy Unrestricted -File "C:\Users\test\Desktop\新建 文本文档.ps1"时-NoExit是起作用的


回复内容
暂无回复
回复主贴