Search found 44 matches
- Fri Nov 02, 2012 1:54 pm
- Forum: VBScript
- Topic: Check computer group membership
- Replies: 1
- Views: 4655
Check computer group membership
I want to have add a section to a script that will check if the machine we are logging into is a member of a group and, if so, stop the script. I have done this the other way and grabbed the machine name then used IF and Elseif to run through the machines that we don't want to run the script when lo...
- Thu Sep 29, 2011 1:19 am
- Forum: VBScript
- Topic: Add Global Group to Domain Local Group with VBS
- Replies: 2
- Views: 2773
Add Global Group to Domain Local Group with VBS
Hello: This is a very remedial question that seems to be stumping me.I want to add a Global Group to a Domain Local Group.I 'wrote' (read as hobbeled together) the script that creates the two groups. I then want to add one to the other. I have seen several examples but nothing seems to work.I am rea...
- Thu Sep 29, 2011 1:12 am
- Forum: VBScript
- Topic: Please Read Before Posting
- Replies: 5
- Views: 32155
Please Read Before Posting
This link does not seem to be valid any longer.http://www.scriptinganswers.com/vault/
- Thu Jul 22, 2010 2:48 am
- Forum: VBScript
- Topic: Remove User From Group
- Replies: 4
- Views: 2500
Remove User From Group
I like that this is cleaner but when applying it, there is an error. When processing the script below. Line 2 returns an error about an expected quote or something. the error is Line: 2 Character: 1 Object required: " Code: 800A01A8 Dim objSysInfo Set objUser = GetObject("LDAP://" &am...
- Wed Jul 21, 2010 4:53 pm
- Forum: VBScript
- Topic: Remove User From Group
- Replies: 4
- Views: 2500
Remove User From Group
It goes like this. We are migrating printers. I have a script that will remap the printers for me and I want this to happen at login. The GPO will be applied to a group and the script, along with re-mapping the printers, removes them from the group so that next time they login, they don't run the re...
- Wed Jul 21, 2010 8:16 am
- Forum: VBScript
- Topic: Remove User From Group
- Replies: 4
- Views: 2500
Remove User From Group
Greetings: I have written the script below designed to remove a user from a group. This does work but it does not seem very clean. The idea is to add the code to another script and have the user removed from a group when the script runs. The whole thing is controlled by a GPO applied to the group. O...
- Mon Mar 30, 2009 9:43 am
- Forum: VBScript
- Topic: SAMAccount Name - MoveHere
- Replies: 1
- Views: 2359
SAMAccount Name - MoveHere
Yes. And it works for me. But....I have found two instances where I have trouble. 1 - Where the CN is different than the SAM account name. This is really not a big deal except that I have run into duplicate SAM accounts when I try the rename. I would prefer - if possible - to use the SAM account as ...
- Mon Mar 30, 2009 7:58 am
- Forum: VBScript
- Topic: SAMAccount Name - MoveHere
- Replies: 1
- Views: 2359
SAMAccount Name - MoveHere
Greetings: I have been tinkering with a script that takes input from a CSV file and changes some of the attributes on a user object. I have been using the CN to pull back the user object but have run into some small problems. I have found that if I can pull the SAMAccount name back from AD, that wou...
- Mon Mar 30, 2009 7:11 am
- Forum: PrimalScript
- Topic: Primal Script Standard
- Replies: 2
- Views: 1581
Primal Script Standard
I took a shortcut and copied everything from the:
C:Program FilesSAPIENPrimalScript 2007 StandardVBScript Core
to a folder I created
C:Program FilesSAPIENPrimalScript 2007 EnterpriseVBScript Core
This 'corrected' all the shortcuts in the Info browser
Thank you.
C:Program FilesSAPIENPrimalScript 2007 StandardVBScript Core
to a folder I created
C:Program FilesSAPIENPrimalScript 2007 EnterpriseVBScript Core
This 'corrected' all the shortcuts in the Info browser
Thank you.
- Mon Mar 30, 2009 5:38 am
- Forum: PrimalScript
- Topic: Primal Script Standard
- Replies: 2
- Views: 1581
Primal Script Standard
I am using Primal Script Standard and found some kind of error with the links to the help files in the Info Browser. The links in the browser point to the wrong place: Asc Link IS: C:Program FilesSAPIENPrimalScript 2007 EnterpriseVBScript CoreAsc.htm Asc Link SHOULD BE: C:Program FilesSAPIENPrimalSc...