PHV,
Yes. The code you posted earlier. In the section of the code you posted, you commented 'your stuff here.
For Each objItem In colItems
If InStr("," & Join(objItem.ChassisTypes, ",") & ",", ",10,") Then
' your stuff here
End If
Next
How do I integrate, "SELECT * FROM...
PHV,
Thanks for pointing out the strComputer variable not being populated. The script worked after I populated it.
I am trying to use this as a WMI Filter in group policy. Can you please show me how to integrate the code I posted earlier into your script?
Hello,
I am trying to create a WMI Filter that determine what type enclosure a computer has so that I can determine if the system is a laptop. I have tried the query below but it fail even when I drop the objChassis. I used MS Scriptomatic tool to verify that I am using the correct WMI...
Please help,
Am trying to use the query below to return data from a mysql database but when I try compiling am receiving the following errors:
com\time\timeclock.java:84: unclosed string literal
("SELECT clocknum,date0,time0,fname,lname,dept,status FROM time_
sheet WHERE...
Hello,
When I try to return all items in a MySQL database I keep getting the error below. However, when I change the SQL query string to "SELECT dept FROM time_sheet" in the javaBean and make necessary changes in the jsp file it works fine and all departments show up on the web page...
Hello,
I have just started Java programing and am trying to create a java bean that connect to a MySQL database. The program compiles fine with no error but when I attempt to run the program I am getting the following error:
Exception in thread "main" java.lang.NoSuchMethodError...
Hi,
Can someone tell me how to retrieve a users fullname from Active Directory using their login name or samAccountName?
Am using vb script.
Thanks in advance.
Dalma
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.