如何运行PowerShell脚本?
powershell.exe 'C:\my_path\yada_yada\run_import_script.ps1'
--noexit
除了输出文件名外,它什么都不返回.
没有错误,没有消息,没有.哦,当我添加时-noexit,同样的事情发生了,但我仍然在PowerShell中,必须手动退出.
-noexit
.ps1文件应该运行程序并返回依赖于该程序输出的错误级别.但我很确定我还没有到达那里.
我究竟做错了什么?
windows powershell scripting
powershell ×1
scripting ×1
windows ×1