title: The term 'powershell.exe' is not recognized as the name of a cmdlet in VSTS Task
body: <p>All of sudden I m getting the error</p>
  
  <p>"2018-08-30T06:19:30.8460321Z ##[error]The term 'powershell.exe' 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.
  " while executing PS task in VSTS . </p>
  
  <p>My PS task has simple Write-Host $variable statement, it worked till y'day and something went wrong, tried rebooting target machine, ensured PS is available etc. </p>
  
  <p>Any debugging steps please ?</p>
  
  <p><a href="https://i.stack.imgur.com/FDs8S.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FDs8S.png" alt="enter image description here"></a></p>