Command line mode invokes and exits
each time you issue a command. Command line mode is useful if you want to run
commands through batch files, scripts, or other programs.
commands with operating system scheduling tools like
or you can embed
commands into shell or Perl scripts.
When you run
in command line mode, you enter connection information such as domain name, Integration Service name, user name and password in each command. For example, to start the workflow “wf_SalesAvg” in folder “SalesEast,” use the following syntax:
pmcmd startworkflow -sv MyIntService -d MyDomain -u seller3 -p jackson ‑f SalesEast wf_SalesAvg
The user, seller3, with the password “jackson” sends the request to start the workflow.
If you omit or incorrectly enter one of the required options, the command fails, and
returns a non-zero return code. For more information about all the return codes, see
pmcmd Return Codes
To run pmcmd commands in command line mode: