i am trying to create a very simple array.
i would like to run the command schtasks which will display a list of scheduled tasks output is similar to this
TaskName Next Run Time Status
==================================== ======================== ===============
midborots 7:00:00 PM, 9/10/2010
midborows01 7:00:00 PM, 9/10/2010
sbs2003 7:00:00 PM, 9/10/2010
I then need to pass down the results from the taskname column only and store them in a array. Appreciate your help.
vbscript or python is fine