Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

How Can I List the Network Printers For the Logged-On User?

(image) Hey, Scripting Guy! How can I create a logon script that lists the network printers for the logged-on user, then writes that information to a text file?-- RC (image) (image) (image) Hey, RC. You know, the nice thing about coming to work after a few days off is – well, OK, so maybe we can’t actually think of anything nice about ...

How Can I Let Users Choose a Default Printer From a List of Printers?

(image) Hey, Scripting Guy! In a logon script, how can I enable users to choose a default printer from a list of the printers installed on their computer?-- JD(image) (image) (image) Hey, JD. You know, a lot of people write in to say, “Hey, Scripting Guys! Why do you limit yourselves to system administration scripting? Don’t you ...

How Can I Add a Network Printer at Logon and, Optionally, Make That the Default Printer?

(image) Hey, Scripting Guy! How can I add a network printer at logon? I’d also like to make that the default printer unless the user has a local printer. In that case I don’t want to make the network printer the default printer.-- DB(image) (image) (image) Hey, DB. So, how are … things ….? That’s really some kind of weather we’ve...