title: The term 'newman' is not recognized as the name of a cmdlet,
body: <p>I'm able to execute <code>newman</code> commands from regular powershell without issue:</p>
  
  <p><a href="https://i.stack.imgur.com/i06ro.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/i06ro.png" alt="enter image description here"></a></p>
  
  <p>However, when I have Jenkins run the same script, I get the following output:</p>
  
  <pre><code>Checkinig prerequisites
     Chocolatey is already installed
     NodeJS is already installed
     NPM is already installed
  Starting collection tests
  
    Testing  C:\Program Files (x86)\Jenkins\workspace\GenericServiceWithPostman\Collections\Account Recv Microservice.postman_collection.json
  newman : The term 'newman' is not recognized as the name of a cmdlet, 
  function, script file, or operable program. Check the spelling of the name, or 
  if a path was included, verify that the path is correct and try again.
  At C:\Program Files 
  (x86)\Jenkins\workspace\GenericServiceWithPostman\RunColletionTests.ps1:47 
  char:1
  + newman run $test.FullName --environment .\Environments\DEV01.postman_ ...
  + ~~~~~~
      + CategoryInfo          : ObjectNotFound: (newman:String) [], CommandNotFo 
     undException
      + FullyQualifiedErrorId : CommandNotFoundException
  </code></pre>
  
  <p>The script that I run:</p>
  
  <pre><code>$tests = gci .\Collections\*postman_collection.json| Select-Object -Property FullName
  
  foreach ($test in $tests)
   { 
   Write-Host ""
  Write-Host "  Testing " $test.FullName
  Start-Sleep -s 5 
  newman run $test.FullName --environment .\Environments\DEV01.postman_environment.json
  }
  </code></pre>
  
  <p><strong>The term 'newman' is not recognized as the name of a cmdlet</strong></p>
  
  <p>What am I doing wrong? How do I get it to see <code>newman</code>?</p>