This code is works in cmd:
"C:\Program Files\...\.exe" /run Testv1 /resource machine:port /sso
How can i run it in powershell?
Use this:
Start-Process "C:\Program Files\..." -ArgumentList "/run Testv1 /resources machine:port"
Or
& "C:\Program Files\...\.exe" /run Testv1 /resource machine:port /sso"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.