标签: powershell
如何将标志传递给start-process powershell?
我想运行powershell -file,但它被作为start-process的参数。
答案 0 :(得分:1)
只需输入Invoke-Item ("FilePath")即可。有关详细信息,请参阅MSDN。
Invoke-Item ("FilePath")