title: how to set trigger "on connection to user session" in task scheduler from powershell?
body: <p>I want to schedule a task in task scheduler from Powershell.
  I want to set 2 trigger "On connection to user session" with local and remote both.</p>
  
  <p>And also,I want to uncheck some settings and conditions in case if they are marked in task scheduler.<br>
  Can someone please tell me how to set above trigger and how to unchheck settings and conditions?</p>
  
  <p>Thank You</p>