Summary: Use Windows PowerShell to enable a scheduled task.
How can I use Windows PowerShell to enable a scheduled task?
Use the Enable-ScheduledTask function from the Scheduled Task module, for example:
Enable-ScheduledTask -TaskName applog
Note This command uses the Scheduled Task module (which was introduced in Windows 8 and
Windows Server 2012), and it requires admin rights.