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.
And also,I want to uncheck some settings and conditions in case if they are marked in task scheduler.
Can someone please tell me how to set above trigger and how to unchheck settings and conditions?
Thank You