Reputation: 1
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
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