title: Update TFS Build Status via Powershell
body: <p>I've a TFS Build Definition setup where, I execute a powershell script for security hardening, applying final patches etc.</p>
  
  <p>Sometimes this powershell script can fail and I would like to change the status of build to be un-successfull or fail. Is there a way to change this TFS Build status via a powershell?</p>