How Do I Use Scripts to Create Printers According To Group Names

  • Thread starter Thread starter Christopher Beard
  • Start date Start date
C

Christopher Beard

I need to establish one login script (using VB Script or
Java Script) that will create the user's needed printers
based on membership in a group. If a user is in A group
he gets printer A. In B group, printer B, etc. Can any
tell me how to code this login script to query AD, find
the groups the user is in and create the printers
accordingly? Thanks!
 
Christopher said:
I need to establish one login script (using VB Script or
Java Script) that will create the user's needed printers
based on membership in a group. If a user is in A group
he gets printer A. In B group, printer B, etc. Can any
tell me how to code this login script to query AD, find
the groups the user is in and create the printers
accordingly? Thanks!
Hi


For some VBScript examples, take a look under "Group Membership Tests" and
"Logon Scripts" under "Free VBScript Code" at
http://www.rlmueller.net/

You will also find logon script examples with group testing etc. at
http://cwashington.netreach.net as well.

E.g. here:
http://cwashington.netreach.net/dep...tory&ScriptType=vbscript&SubType=LogonScripts
 
Thank you very much!
Christopher
-----Original Message-----

Hi


For some VBScript examples, take a look under "Group Membership Tests" and
"Logon Scripts" under "Free VBScript Code" at
http://www.rlmueller.net/

You will also find logon script examples with group testing etc. at
http://cwashington.netreach.net as well.

E.g. here:
http://cwashington.netreach.net/depo/default.asp? topic=repository&ScriptType=vbscript&SubType=LogonScripts



--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.msp x
.
 
Back
Top