title: Command prompt not executing powershell scripts
body: <p>I tried running a build today and found that my command prompt is not able to execute powershell scripts. To confirm this, I created a test powershell script which simply writes to console. The script works fine when run from powershell, but is not recognizable by the command prompt. Screenshots below.</p>
  
  <p><a href="https://i.stack.imgur.com/dFuz2.jpg" rel="nofollow noreferrer">test script working from powershell</a></p>
  
  <p><a href="https://i.stack.imgur.com/YOrrm.jpg" rel="nofollow noreferrer">test script not working from command prompt</a></p>
  
  <p>Any suggestions/explantion as to why this is happening?</p>