How can i start a process in powershell another machine?

This code is works in cmd:

"C:\Program Files\...\.exe" /run Testv1 /resource machine:port /sso

How can i run it in powershell?

Upvotes: 0

Views: 37

Answers (1)

wasif
wasif

Reputation: 15478

Use this:

Start-Process "C:\Program Files\..." -ArgumentList "/run Testv1 /resources machine:port"

Or

& "C:\Program Files\...\.exe" /run Testv1 /resource machine:port /sso"

Upvotes: 1

Related Questions