title: PMCMD Stop workflow
body: <p>Hi i am trying to stop workflow through PMCMD but unsuccessfully.
  i am doing it through powershell </p>
  
  <pre><code>&amp;"$INFS_ROOT\pmcmd.exe" stopworkflow -usd DS -u $IFPC_USER -p $IFPC_PASS -sv ISUD -d DomainIF -f ("$Folder") ("$wf");
  </code></pre>
  
  <p>But everytime i got error:</p>
  
  <blockquote>
    <p>ERROR: Option value cannot start with one leading '-'. Usage: pmcmd</p>
    
    <p>stopworkflow<br>
                              &lt;&lt;-service|-sv> service &lt;-domain|-d> domain [&lt;-timeout|-t> timeout]>
                              [&lt;&lt;-user|-u> username|&lt;-uservar|-uv> userEnvVar>]
                              [&lt;&lt;-password|-p> password|&lt;-passwordvar|-pv> passwordEnvVar>]
                              [&lt;&lt;-usersecuritydomain|-usd> usersecuritydomain|&lt;-usersecuritydomainvar|-usdv> userSecuritydomainEnvVar>]
                              [&lt;-folder|-f> folder] [&lt;-runinsname|-rin> runInsName]
                              [-wfrunid workflowRunId] [-wait|-nowait] workflow</p>
  </blockquote>
  
  <p>For example getworkflowstatus works clear </p>
  
  <pre><code>&amp;"$INFS_ROOT\pmcmd.exe"  getworkflowdetails -usd DS -u $IFPCUser -p $IFPCPass -sv ISUD -d DomainIF -f ("$Folder") ("$wf")
  </code></pre>
  
  <p>Can anyone help me with stopping workflow through pmcmd? Thanks</p>