Task Scheduler Powershell script

Powershell.exe

-ExecutionPolicy Bypass C:\script.ps1 -RunType $true