w2k Task Scheduler
Can anyone tell me how to run a report or provide a tool orcode to run a report for a 2000 server Task Scheduler? I have about a 100 tasks that need to be migrated and need to capture them in a spreadsheet or DB.Thanks
September 18th, 2009 9:55pm

Hi greg_stl,List scheduled tasks (VBScript) ' This code lists the scheduled AT tasks on a computer. ' --------------------------------------------------------------- ' From the book "Windows Server Cookbook" by Robbie Allen ' ISBN: 0-596-00633-0 ' --------------------------------------------------------------- ' ------ SCRIPT CONFIGURATION ------ strComputer = "<ServerName>" ' ------ END CONFIGURATION --------- set objWMI = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") set colScheduledJobs = objWMI.ExecQuery("Select * from Win32_ScheduledJob") for each objJob in colScheduledJobs WScript.Echo "Job ID: " & objJob.JobID for each objProp in objJob.Properties_ WScript.Echo " " & objProp.Name & ": " & objProp.Value next next Please check the thread http://help.lockergnome.com/windows2/List-scheduled-tasks-command-line--ftopict477267.htmlBest regards,ScorprioMCTS: Windows Vista | Exchange Server 2007 MCITP: Enterprise Support Technician | Server & Enterprise Admin
Free Windows Admin Tool Kit Click here and download it now
September 24th, 2009 12:42pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics