Firstly apologies as i posted the wrong code, the code i posted was an earlier version, the actual code i have working (in a fashion is below, it runs without any syntax errors but it doesnt seem to be giving me the desired results as described in my earlier text...
I have the following code to search the domain called mx for the current computer name, I seem to be having problems with the syntax at the line indicated by the * it gives me an error saying "The search filter cannot be recognised" can anyone see what i have done wrong? Also, it seems to be...
We have two domains D1 and DZ, there is a trust between the two domains. I want to stop users logging into PC's from the opposite doamin, if that makes sense.
i.e. If a user logs into their domain (D1) but the PC they are logging into belongs to the second domain (DZ) i want to show them a...
Thanks PHV, i will change it but according to the error i get the problem lies with this bit of code;
Do While intProcCount > 0
Set colItems = objWMIService.ExecQuery(wmiQuery)
intProcCount = colItems.Count
Loop
I have a script below that is giving me the error, i cannot find or see anything wrong with it, can anyone help?
[bigears]Apparently the compilation error is at line 28 col 2, i have indicated the line with a *
Dim objShell, vRunObject
dim filesys, getname, path,
Set objShell =...
I am writing a piece of code that checks for a certain process running (in this case it is an upgrade to the MSI engine). I want the code to loop until the process has completed but i'm unsure of how to do this, this is what i have so far;
--------------------------------------------
Option...
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.