Nate,
Thank you for your response.
I do understand that it is very conveinient to remotely manage many computers, but that is not allways possible (we allso have many small networks all over the country). So I would like to automate the imaging without giving the end users a chance to destroy things.
That's why I just looked at the scripting possibilities. I have te following in mind:
- The services set to manual (they will auto launch when needed)
- launch a VB script that creates the image on a nas
- unload the services
- place the script in a scheduled task
I took you sample script (here are the last nine lines of 'your' BackupManyToNet.vbs):
StdOut.Write "Let's test ShadowProtect.FindObject()..." & vbCrLf
StdOut.Write "I will try to find latest Job with ID " & ShadowProtect.FindObject(Job.Id).Id & vbCrLf
StdOut.Write "OK." & vbCrLf & vbCrLf
StdOut.Write "Let's start job as full"& vbCrLf
Job.Execute 3
StdOut.Write "OK." & vbCrLf & vbCrLf
StdOut.Write "Let's test ShadowProtect.RemoveAllJobs..." & vbCrLf
ShadowProtect.RemoveAllJobs
StdOut.Write "OK." & vbCrLf & vbCrLf
The script runs fine until it reaches Job.Execute 3 (BTW What does that 3 mean? No documentation about it).
Here are the last lines of the output:
Let's add trigger to start tomorrow at current time
Let's test ShadowProtect.FindObject()...
I will try to find latest Job with ID {1F5F3A65-0DBF-4018-AF37-6529B1EC8273}
OK.
Let's start job as full
D:\Temp\BackupManyToNet.vbs(38, 1): Runtime Error Microsoft VB Script: Invalid procedure-call or argument
Everything runs nicely until the execution of that job..
Alas, I am not even a beginner in VBS, so could you give me a clue?
Thanks in advance,
M. Uphoff