Tech: Monitoring Microsoft Virtual Server 2005 jobs

Ben Armstrong published a very useful script to monitor active tasks Virtual Server 2005 is executing and how left before end:

Set vs = CreateObject(“VirtualServer.Application”)

Set tasks = vs.Tasks
If tasks.Count = 0 Then
Wscript.Echo “There are no tasks”
Else
Wscript.Echo “Active tasks: ”
For Each task in tasks
Wscript.Echo ” Task: ” & task.ID & ” : ” & task.Description & ” : ” & task.PercentCompleted
Next
End If

Be sure to check the original post for updates and comments.