title: Is there a way to enable "noninteractive" from within a powershell session
body: <p>I have an orchestration mechanism (bamboo server) that will launch my ps1 script.</p>
  
  <p>However it launches the script without the -noninteractive argument to powershell.exe.</p>
  
  <p>This in turn makes all my scripts halt and await user interaction.</p>
  
  <p>Atlassian does not want to change their launch mechanism, so im left to figure out if I can somehow manipulate my powershell session from "within".</p>
  
  <p>Question is this:
  Is there any way I can make my powershell session change to "non interactive mode" when it have already been launched?</p>