Search found 25 matches

by ajgtx
Thu May 08, 2008 5:04 am
Forum: VBScript
Topic: VBscript to check/uncheck...
Replies: 4
Views: 3439

VBscript to check/uncheck...

Greetings!
In regards to pushing MSI packages via AD GPO, I'm looking for a script that will check/uncheck the box "uninstall this application when it falls out of scope". Does anyone know if this is possible and if so, what the code may look like?

Thanks!
by ajgtx
Thu May 08, 2008 5:04 am
Forum: VBScript
Topic: VBscript to check/uncheck...
Replies: 4
Views: 3439

VBscript to check/uncheck...

Greetings!
In regards to pushing MSI packages via AD GPO, I'm looking for a script that will check/uncheck the box "uninstall this application when it falls out of scope". Does anyone know if this is possible and if so, what the code may look like?

Thanks!
by ajgtx
Thu Apr 10, 2008 5:49 am
Forum: VBScript
Topic: I have an ampersand in an input file
Replies: 9
Views: 5905

I have an ampersand in an input file

Well said jv and thanks for the reply and clarification on the use of the ampersand.
by ajgtx
Thu Apr 10, 2008 3:10 am
Forum: VBScript
Topic: I have an ampersand in an input file
Replies: 9
Views: 5905

I have an ampersand in an input file

Haha! It worked without any modifications. I had two issues (or at least I thought) with the input initially, and never tried it after I fixed the first issue. Working on too many scripts at once. :)

Thanks again for your help.
by ajgtx
Thu Apr 10, 2008 1:03 am
Forum: VBScript
Topic: I have an ampersand in an input file
Replies: 9
Views: 5905

I have an ampersand in an input file

Hmm. Didn't work.
Do I put the replace line in after it reads the line from the input file? I'm assuming this is the case. I also tried editing the input so that there was literally a backslash in there, but nothing.
by ajgtx
Wed Apr 09, 2008 11:56 pm
Forum: VBScript
Topic: I have an ampersand in an input file
Replies: 9
Views: 5905

I have an ampersand in an input file

I'm querying OU's for computers and groups. The input file contains the ADs paths for the OU's that I am pulling from. For example:
<LDAP://OU=desktops&laptops,OU=computers,dc=mydomain,dc=com>

My code will pull anything except for the one with the "&" in it.
by ajgtx
Wed Apr 09, 2008 11:31 pm
Forum: VBScript
Topic: I have an ampersand in an input file
Replies: 9
Views: 5905

I have an ampersand in an input file

I have an "&" as part of an input file. The input file is just passing a string to the code. How do I make it act as a string character and not a vbscript &?
Thanks!
by ajgtx
Wed Apr 09, 2008 11:31 pm
Forum: VBScript
Topic: I have an ampersand in an input file
Replies: 9
Views: 5905

I have an ampersand in an input file

I have an "&" as part of an input file. The input file is just passing a string to the code. How do I make it act as a string character and not a vbscript &?
Thanks!
by ajgtx
Tue Apr 08, 2008 11:21 pm
Forum: VBScript
Topic: executing a runas with a vbs
Replies: 1
Views: 1339

executing a runas with a vbs

I need to run a vbs as a specific user.
I've tried a few different ways to do a "runas" for a vbs, but I'm still unsuccessful. Does anyone know of a good solution for this?

Thanks!
by ajgtx
Mon Mar 31, 2008 1:37 am
Forum: VBScript
Topic: Looking for a vbscript that returns group...
Replies: 1
Views: 1249

Looking for a vbscript that returns group...

Greetings, I am looking for a vbscript that returns all of the groups that a single computer is a member of (I will be using this in a loop across hundreds/thousands of computers). I've been looking for about an hour and it seems to be easily done with a user object, but not with a computer object. ...