Quantcast
Channel: Scripting Blog
Browsing all 117 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Hey, Scripting Guy! How Can I Use Windows PowerShell to Remove Old Printer...

Hey, Scripting Guy! Well it finally happened. Our budget request for new printers was approved. We have gotten them unboxed, distributed, and hooked up to the LAN. We have even downloaded the latest...

View Article


Image may be NSFW.
Clik here to view.

Hey, Scripting Guy! How Can I Perform More Than One Action with the...

Hey, Scripting Guy! The Win32_Printer WMI class has several methods that are listed in it. But I am not sure how to best use these methods from inside a Windows PowerShell script. I do not want to...

View Article


Image may be NSFW.
Clik here to view.

Use PowerShell to Create New Printer Ports

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell 3.0 to create new printer ports in Windows 8.Microsoft Scripting Guy, Ed Wilson, is here. One of the exciting things...

View Article

Image may be NSFW.
Clik here to view.

Install Printer Drivers with PowerShell in Windows 8

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell in Windows 8 to install printer drivers.Microsoft Scripting Guy, Ed Wilson, is here. This morning, it is rainy and...

View Article

Image may be NSFW.
Clik here to view.

How Can I Print Text Files Using a Script?

Hey, Scripting Guy! I have a bunch of text files in a folder. Is there a way to print those files using a script? I know I can use Microsoft Word to print the files from a script, but I don’t have...

View Article


Image may be NSFW.
Clik here to view.

Hey, Scripting Guy! Is There Any Way to Determine the Default Printer On a...

Hey, Scripting Guy! Is there any way to determine the default printer on a computer? -- JW Hey, JW. If you’re running Windows XP or Windows Server 2003, determining the default printer is easy. That’s...

View Article

Image may be NSFW.
Clik here to view.

How Can I Map a Printer, But Only If the User Doesn’t Have a Local Printer?

Hey, Scripting Guy! I’d like to have a logon script that maps a network printer for each user unless that user already has a local printer. If they have a local printer, I don’t want to add the network...

View Article

Image may be NSFW.
Clik here to view.

How Can I Print a Test Page to a Printer?

Hey, Scripting Guy! How can I print a test page to a printer? -- RR Hey, RR. As long as you’re running Windows XP this is an easy one; that’s because the revised Win32_Printer class introduced in...

View Article


Image may be NSFW.
Clik here to view.

How Can I Use a Script to Rename a Printer?

Hey, Scripting Guy! How can I use a script to rename a printer? -- SB Hey, SB. Well, if your printer is connected to a Windows 2000 or Windows NT 4.0 print server we have bad news for you: you can’t...

View Article


Image may be NSFW.
Clik here to view.

How Can I Share All the Local Printers on a Computer?

Hey, Scripting Guy! How can I write a script that will automatically share all the local printers on a computer? -- CD Hey, CD. You know, when we redid the Hey, Scripting Guy! archive we created a new...

View Article

Image may be NSFW.
Clik here to view.

How Can I Retrieve Information About the Printer Driver Used by a Printer?

Hey, Scripting Guy! How can I retrieve information about the printer driver used by a specific printer? -- RW Hey, RW. Did you say something? Oh, right: printer drivers. You’ll have to excuse us today:...

View Article

Image may be NSFW.
Clik here to view.

How Can I Remove All the Local Printers from a Computer?

Hey, Scripting Guy! How can I remove all the local printers from a computer? -- JW Hey, JW. You did say that you wanted to do this only on computers running Windows XP or Windows Server 2003, didn’t...

View Article

Image may be NSFW.
Clik here to view.

How Can I Print Text Files to a Printer Other than the Default Printer?

Hey, Scripting Guy! How can I print text files to a printer other than the default printer? -- JD Hey, JD. Boy, talk about pride going before the fall. When we first set out to answer this question we...

View Article


Image may be NSFW.
Clik here to view.

How Can I Remove All the Black-and-White Printers on a Computer?

Hey, Scripting Guy! On a Windows XP computer, how can I remove all the black-and-white printers, leaving only color printers? -- JL Hey, JL. You know, in one classic episode of the Simpsons, Bart, in...

View Article

Image may be NSFW.
Clik here to view.

How Can I Set the Default Printer Based on the IP Address of the Computer?

Hey, Scripting Guy! How can I set the default printer based on the IP address of the computer? -- TT Hey, TT. You’ll have to forgive us for being a little distracted this morning. Last night the...

View Article


Image may be NSFW.
Clik here to view.

How Can I List All the Printers on a Remote Computer?

Hey, Scripting Guy! How can I list all the printers – both local printers and network printers – on a remote computer? -- CH Hey, CH. You know, back when he worked at the University of Washington the...

View Article

Image may be NSFW.
Clik here to view.

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

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...

View Article


Image may be NSFW.
Clik here to view.

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

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 Hey, JD. You know, a lot of people write in to...

View Article

Image may be NSFW.
Clik here to view.

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

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 Hey, RC. You know, the nice thing about...

View Article

Image may be NSFW.
Clik here to view.

How Can I Map a Printer Based on the Computer’s OU?

Hey, Scripting Guy! How can I map a printer based on the local computer’s OU? -- TG Hey, TG. Before we begin, we’d like to offer a sincere and heartfelt apology to the Scripting Editor. In a recent...

View Article
Browsing all 117 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>