Get List of Scheduled Tasks

Please use the below script to get list of scheduled tasks from the target machine

import os
print os.popen('schtasks /Query /FO List','r',-1).read()

Sample Output: