title: PowerISE stops script on warning
body: <p>I have a Powershell script which, when ran, gives some warnings. when i ran this script using Powershell then it completes successfully but when i ran it from Powerise it stops at the warning. How can I ignore warnings in Powerise so that the script can execute completely?
  Powershell version 5.
  Below is the warning</p>
  
  <p>warning CS0169: The field 'RedeemControllerTest.PostMethod._environment' is never used</p>