Well the code I posted above should return the first OU that the computer is in, and save it in the $OU variable. I compressed it into one line below and added an example of an IF check.

 Code:
$OU = Split(Split(GetObject("LDAP://"+CreateObject("ADSystemInfo").ComputerName).Parent,",")[0],"=")[1]

If $OU = "OUName1"
   $nul = AddPrinterConnection("\\Server\Printer1")
   $nul = AddPrinterConnection("\\Server\Printer2")
Endif
If $OU = "OUName2"
   $nul = AddPrinterConnection("\\Server\Printer3")
   $nul = AddPrinterConnection("\\Server\Printer4")
Endif


Edited by ShaneEP (2012-08-04 05:32 PM)