title: Powershell scripts failing in SQL Agent jobs
body: <p>I have sql agent jobs which call certain Stored Procedures based on some condition. The logic was implemented in powershell. Recently all the powershell jobs in sql agent started failing with error message:</p>
  
  <p>The step did not generate any output. Process exit code -2146232576. Anyone have insight on this issue?</p>
  
  <p>Edit:
  Around the time the jobs started failing following entries are registered in Windows evenlog setup:</p>
  
  <p>Initiating changes to turn off update MicrosoftWindowsPowerShellV2 of package PowerShell-V2-ServerCore. Client id: DISM Package Manager Provider. </p>
  
  <p>Selectable update MicrosoftWindowsPowerShellV2 of package PowerShell-V2-ServerCore was successfully turned off.</p>
  
  <p>I'm not familair with Operating system level changes.Could anyone interpret what's going on?</p>