Showing results for 
Show  only  | Search instead for 
Did you mean: 
Engaged Sweeper
I need teh Topic Scheduled Tasks for Server with History. We will find new Scheduled Tasks and Changes in example Start Time.
Not applicable
I would like to have this feature too.
Engaged Sweeper
When I open a Server in the lansweeper, then I can found items, in example Processes, Autoruns, Quickfix, Environment and ...
I want to have a Item "Scheduled Tasks", when I click on it, I can open a Table with all information about the Scheduled Tasks from the Server. I know that you can read the Scheduled Tasks about WMI.
Under "Recent Changes" I will found a history about Scheduled Tasks.

In Scriptomatic1 from Microsoft I can Found:

On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_ScheduledJob",,48)
For Each objItem in colItems
Wscript.Echo "Caption: " & objItem.Caption
Wscript.Echo "Command: " & objItem.Command
Wscript.Echo "DaysOfMonth: " & objItem.DaysOfMonth
Wscript.Echo "DaysOfWeek: " & objItem.DaysOfWeek
Wscript.Echo "Description: " & objItem.Description
Wscript.Echo "ElapsedTime: " & objItem.ElapsedTime
Wscript.Echo "InstallDate: " & objItem.InstallDate
Wscript.Echo "InteractWithDesktop: " & objItem.InteractWithDesktop
Wscript.Echo "JobId: " & objItem.JobId
Wscript.Echo "JobStatus: " & objItem.JobStatus
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "Notify: " & objItem.Notify
Wscript.Echo "Owner: " & objItem.Owner
Wscript.Echo "Priority: " & objItem.Priority
Wscript.Echo "RunRepeatedly: " & objItem.RunRepeatedly
Wscript.Echo "StartTime: " & objItem.StartTime
Wscript.Echo "Status: " & objItem.Status
Wscript.Echo "TimeSubmitted: " & objItem.TimeSubmitted
Wscript.Echo "UntilTime: " & objItem.UntilTime

Best Regards
Lansweeper Alumni
Could you please explain this some more.