Quantcast
Channel: PTC Community: Message List
Viewing all articles
Browse latest Browse all 12262

Re: Calling a CLI command remotely using PsExec

$
0
0

PsExec does allow for calling the command as a specific user, you just need to pass the -u and -p arguments when call it.

 

For my use case, I am using the following command to call the CLI command remotely.

 

C:\Progra~1\PSTools\PsExec.exe \\worker1 C:\\ptc\\IntegrityClient10\bin\im.exe createissue --type="Product Requirement"  --port=7001 --hostname=integrityServer --password=password --user=SolutionArchitect --richContentField="Engineering Response=For performance testing. Do not use." --richContentField="Product Requirement Statement=Created for Performance Testing - DO NOT USE"


Viewing all articles
Browse latest Browse all 12262

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>