|
Sorry to bring the thread from the dead.
Can you explain Synchronously vs non synchronously ?
Also, for the script I have tested, but like a confirmation. If a person belongs to two security groups and with each group having the same printer assigned, he/she will be getting that one instance of the printer. After that, the script will go on the next printer instance that is assigned based on the script?
TIA, Tnt
-----------------------------------------------------
IF InGroup("GroupName1") USE Z: /Delete /Persistent USE Z: "\\DC01\ShareName" AddPrinterConnection("\\cps1\hp4000") <> 0
ENDIF
IF InGroup("GroupName2") USE x: /Delete /Persistent USE X: "\\DC01\ShareName" AddPrinterConnection("\\cps1\hp4100") <> 0 AddPrinterConnection("\\cps1\hp5000") <> 0 ENDIF
Edited by Tony (2008-09-10 01:36 AM)
|