如何使用Powershell执行exe?

时间:2012-12-03 08:32:41

标签: powershell

我在.net中创建了一个Windows应用程序。我需要使用powershell执行应用程序生成的exe。

1 个答案:

答案 0 :(得分:2)

我通常会使用呼叫运算符(&):

$args = @('arg1', 'arg2', 'arg3')
& app.exe $args

详细列出了here

的完整可用选项列表
相关问题