The scheduledTaskHelper.ps1 script has functionality to check, create, delete and update scheduled tasks
scheduledTaskHelper.ps1