|
I'm testing some code to check / manage VMWare virtual machines using their scripting API. The first script I've written works except for evaluating enumerated constants. After a little research (i.e. RTFM some more), I'm seeing that VMWare runs the following code fragment (with the appropriate src file) with cscript.exe to run each script.
<job id="Sample2">
<reference object="VmCOM.VmCtl" />
<script language="VBScript" src="sample2.vbs" />
</job>
Apparently doing it this way allows enumerated constants to be set up automatically prior to script execution.
Is there any way of getting this to work with KiXtart? I'm not finding KiXtart in the VBS documentation I downloaded, but I figured one of you COM gurus out there has run into something similar at some point.
Thanks,
NMM
Edited by New Mexico Mark (2004-06-21 08:01 PM)
|