BTW, this will also work with W2k or greater print server systems. You need to change version 2 to 3..
Code:

$srv="\\CITRIX"+$i+"\HKLM\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3"


And..
Code:

$srv+'\admin$$\system32\spool\drivers\w32x86\3


I will post a corrected version of this today once I get into work.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's