The following command will replicate the drivers whos name start with “hp uni” to the servers specified at the end of the command. The -confoirm at the end lets you confirm that each driver will be replicated or not:
Manual Replication:
Start-XAPrinterDriverReplication -drivername “hp uni*” -sourceservername desk05 -servername desk01,desk07 -confirm
Confirm
Are you sure you want to perform this action?
Performing operation “Start-XAPrinterDriverReplication” on Target “HP Universal Printing PCL 5”.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is “Y”): y
Confirm
Are you sure you want to perform this action?
Performing operation “Start-XAPrinterDriverReplication” on Target “HP Universal Printing PCL 5 (v5.1)”.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is “Y”): y
Automatic Replication:
The following command will allow for a driver to be added to an autoreplicated driver list:
Add-XAAutoReplicatedPrinterDriver -DriverName “HP Universal Printing PCL 5 (v5.1)” -SourceServerName desk05
DriverName ServerName Overwrite
———- ———- ———
HP Universal Printing PCL 5 (v5.1) DESK05 False
The following should then be run to push the driver out to each of the servers requiring the drivers:
Get-XAPrinterDriver -ServerName deskXX
Removing a Driver from the Auto-Replication List:
Remove-XAAutoReplicatedPrinterDriver –DriverName “HP Universal Printing PCL 5 (v5.1)” –ServerName XASource (Where XAServer is a server that has the driver installed on)
———————————————————————
Sources: http://support.citrix.com/article/CTX126125
No comments yet... Be the first to leave a reply!