Enumerate and list all the scheduled tasks in the root folder.
This will only return basic information about the scheduled task in the root folder. For a more comprehensive output and a complete list of all the scheduled tasks on the host, use the schtasksenum BOF from TrustedSec.
hostName: Specify "" for the current system or the FQDN of the remote host: DB01.example.local.enumtaskscheduler <(optional) hostName>enumtaskschedulerenumtaskscheduler DB01.example.localx64 Native Tools Command Prompt for VS <2019/2022> terminal.bofcompile.bat script to compile the object file.