title: SQL Server Job won't recognize AWS CLI command
body: <p>Hello I have a SQL Server Job with a <code>CmdExec</code> step that goes like this:</p>
  
  <pre><code>powershell.exe -file D:\Script\test.ps1
  </code></pre>
  
  <p>currently the PowerShell script is simply this:</p>
  
  <pre><code>aws s3 ls s3://backup-sql-day/
  </code></pre>
  
  <p>and curiously the job runs sucessesfully, and there's this message.</p>
  
  <pre>The term 'aws' 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 D:\Script\teste.ps1:1 char:1
  + aws s3 ls s3://backup-sql-day/
  + ~~~
       + CategoryInfo          : ObjectNotFound: (aws:String) [], CommandNotFoundException
       + FullyQualifiedErrorId : CommandNotFoundException.Process
  
  Exit Code 0.
  The step succeeded.</pre>
  
  <p>So the script doesn't run, doesn't report me the error, the thing is I cannot seem to run any AWS script on the SQL Server Job, however I can run it normally with any user, does anybody have a clue on how to fix this?</p>