I want to use your example to call an external vbscript and perform a WMI query that return values to my SQL stored procedure for use in a report.
I can call the vbscript, but am unable to get any output values from it. How do I setup my vbscript to return these values, or can you tell me where the disconnect is? I've tried wscript.echo statements and wscript.quit(<insert value here>.
Thanks
Mark