Hi all
I'm pretty new to both sql queries and vbscript, and yet have been tasked to create a script to run a sql query and add the results to SCOM for alerting and performance data!!
Anyway, I have a query supplied by the vendor and need to know how to incorporate it into a script. The query...
thx for the replies phv.
ok so a little clearer - understand about option explicit.
regards the function wmistatus, still not clear on what/how i should code this? do i need to put a value when the function is called, and how do i define this? the book i'm using isn't clear on how i define the...
ok, i'm really confused. corrected that, but now i'm getting - variable is undefined: 'objitem'.
why does that need to be declared - i'm sure itr doesn't does it? is there a more funadamental problem with the script?
thanks, good to know where the problem is - only i don't know why?
as there is no argument, the function pair is empty. i don't know what i shouls be putting in the 1st set though. initially it was blank and i was still getting errors, so tried it with the object, but it was guesswork. what...
All
i am trying to write a script for mom 2007, which will check for wmi and do an nslookup. i'm getting stuck with some of the syntax as i'm new to all this, was wondering if someone could help? Script has been split into 2 for now, 1st part is this:
Option Explicit
Dim oArgs, oShell, fso...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.