I would like a script which can be applied to computers on shutdown so that only specific printers are removed. Basically we're removing a lot of redundant print queues next week and we need to ensure all our users who use Laptops and Desktops have printer queues which still exist rather than the orphaned ones we're going to be removing.
We have a Citrix Environment so those users printers are being removed in a different way. But I would like a script that we can apply to Computers to ensure only specific printer queues are deleted. Reason I don't want all printer queues removed from people who have laptops is that they may have their home network printers setup.
Can this be done? If so could I have a script that can perform this.