Sign in
TechNet Blogs
Technet Blog Images
More ...
Browse by Tags
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
All Tags
>
client-side printing
Server & Tools Blogs
>
Server & Management Blogs
>
Hey, Scripting Guy! Blog
All About Windows Server
Windows Server
Windows Server Essentials Blog
Building Clouds
Partner & Customer Solutions
Server & Cloud
Ask The
Performance Team
Ask Premier Field Engineering
Ask the Core Team
Cloud & Datacenter Management
The System Center Team Blog
System Center Virtual Machine Manager
System Center Service Manager
System Center Operations Manager
System Center Data Protection Manager
System Center Orchestrator
Partner & Customer Solutions
Client Management
System Center Configuration Manager
System Center Service Manager
MDOP
Malware Protection Center
Windows Intune
SUS
Partner and Customer Solutions
Virtualization, VDI & Remote Desktop
Virtualization Team Blog
Ben Armstrong’s Virtualization Blog
Jose Barreto Blog on Hyper-V
Partner & Customer Solutions
Remote Desktop Services
Windows Multipoint Server
Ask the Core Team on Hyper-V
File & Storage & High Availability
File & Storage
Jose Barreto
Partner & Customer Solutions
Ask the Core Team on Failover Cluster
Clustering & High Availability
Windows Server Management
PowerShell
Hey Scripting Guy (PowerShell)
Server Manager
Group Policy
Networking
Identity & Access
Ask Directory Services
Active Directory
Microsoft Leadership
Brad Anderson - In the Cloud
Hey, Scripting Guy! Blog
Learn about Windows PowerShell
Live Now on Server & Tools Blogs
Subscribe
Comments
Contact
Menu
Blog Home
Atom
Translate this page
Powered by
Microsoft® Translator
Twitter Feed
Recent Posts
PowerTip: Create a PowerShell Script Block on the Fly
Posted
2 hours ago
by
The Scripting Guys
0
Comments
PowerShell Hash Tables that Contain Keywords...hmm...
Posted
14 hours ago
by
The Scripting Guys
2
Comments
PowerTip: Create an XML Representation of a Registry Key with PowerShell
Posted
1 day ago
by
The Scripting Guys
1
Comments
Use PowerShell to Copy Only Folders that Contain Files
Posted
1 day ago
by
The Scripting Guys
5
Comments
Tags
Active Directory
OUs
printing
Scripting Guy!
scripting techniques
shell.application
text files
VBScript
Windows PowerShell
WMI
Related Resources
Script Center Home
Scripting Library
Learn to Script
Script Repository
Scripting Forum
2012 Scripting Games
Archives
Archives
May 2013
(45)
April 2013
(61)
March 2013
(62)
February 2013
(56)
January 2013
(62)
December 2012
(62)
November 2012
(68)
October 2012
(62)
September 2012
(62)
August 2012
(63)
July 2012
(32)
June 2012
(39)
May 2012
(33)
April 2012
(97)
March 2012
(44)
February 2012
(31)
January 2012
(31)
December 2011
(31)
November 2011
(30)
October 2011
(31)
September 2011
(30)
August 2011
(31)
July 2011
(31)
June 2011
(30)
May 2011
(31)
April 2011
(97)
March 2011
(41)
February 2011
(28)
January 2011
(31)
December 2010
(31)
November 2010
(30)
October 2010
(31)
September 2010
(30)
August 2010
(33)
July 2010
(31)
June 2010
(30)
May 2010
(67)
April 2010
(65)
March 2010
(34)
February 2010
(29)
January 2010
(23)
December 2009
(23)
November 2009
(22)
October 2009
(23)
September 2009
(22)
August 2009
(25)
July 2009
(24)
June 2009
(38)
May 2009
(22)
April 2009
(22)
March 2009
(22)
February 2009
(20)
January 2009
(22)
December 2008
(8)
November 2008
(17)
October 2008
(9)
September 2008
(8)
August 2008
(6)
July 2008
(5)
June 2008
(21)
May 2008
(21)
April 2008
(22)
March 2008
(21)
February 2008
(21)
January 2008
(22)
December 2007
(10)
November 2007
(20)
October 2007
(23)
September 2007
(19)
August 2007
(23)
July 2007
(21)
June 2007
(21)
May 2007
(22)
April 2007
(21)
March 2007
(22)
February 2007
(21)
January 2007
(21)
December 2006
(11)
November 2006
(20)
October 2006
(22)
September 2006
(20)
August 2006
(23)
July 2006
(20)
June 2006
(22)
May 2006
(22)
April 2006
(20)
March 2006
(23)
February 2006
(20)
January 2006
(21)
December 2005
(16)
November 2005
(20)
October 2005
(21)
September 2005
(21)
August 2005
(23)
July 2005
(20)
June 2005
(22)
May 2005
(21)
April 2005
(21)
March 2005
(22)
February 2005
(20)
January 2005
(21)
December 2004
(16)
November 2004
(20)
October 2004
(21)
September 2004
(21)
August 2004
(22)
More
▼
Less
▲
Tagged Content List
Blog Post:
Hey, Scripting Guy! How Can I Perform More Than One Action with the Win32_Printer WMI Class?
ScriptingGuy1
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 create four different scripts to send a test page, clean out print jobs, and to cycle the print queue. Do...
on
21 May 2009
Blog Post:
Hey, Scripting Guy! How Can I Use Windows PowerShell to Remove Old Printer Connections, List Printers, and Set New Default Printers?
ScriptingGuy1
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 drivers from the Internet, and updated the firmware on several of the printers. The drivers are installed...
on
20 May 2009
Blog Post:
Hey, Scripting Guy! How Can I Use WMI to Add a Printer Connection by Using Windows PowerShell?
ScriptingGuy1
Hey, Scripting Guy! I am trying to determine how to use WMI to add a printer connection by using Windows PowerShell. I have found this script , but it uses VBScript and not WMI. This means that it is not very close at all, I am afraid. Do you have a WMI script I can use? - CM Hi CM, Ed looked around...
on
19 May 2009
Blog Post:
Hey, Scripting Guy! How Can I Document Printer Usage on Client Workstations?
ScriptingGuy1
Hey, Scripting Guy! I am tasked with the problem of documenting printer use on our client workstations. I must be able to determine whether someone prints directly to a printer, or if they are printing through our print servers. This is important because we have purchased a print monitoring software...
on
18 May 2009
Blog Post:
Hey, Scripting Guy! How Can I Document Printers?
ScriptingGuy1
Hey, Scripting Guy! I do not know about you, but does it seem that printers are a major pain in the dark side? I mean, they seem to multiply faster than bacteria. They are all just different enough to cause maintenance problems, and forget about trying to keep track of toner cartridges. Do you have any...
on
4 Dec 2008
Blog Post:
Hey, Scripting Guy! How Can I Remove All the Network Printers on a Computer?
ScriptingGuy1
Hey, Scripting Guy! Is it possible to delete or remove all network printers from a workstation with a VBScript script, similar to the way you removed all the network drives on a computer? -- WDC Hey, WDC. If you’ve been following our daily TechEd preview report , then you know that the Scripting Guys...
on
2 Nov 2007
Blog Post:
How Can I Map a Printer Based on the Computer’s OU?
ScriptingGuy1
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 column , we made it sound as if, in her words, the Scripting Editor was a “ditzy teenager.” That, of...
on
28 Jul 2007
Blog Post:
How Can I List the Network Printers For the Logged-On User?
ScriptingGuy1
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 coming to work after a few days off is – well, OK, so maybe we can’t actually think of anything nice...
on
17 Jul 2007
Blog Post:
How Can I Let Users Choose a Default Printer From a List of Printers?
ScriptingGuy1
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 say, “Hey, Scripting Guys! Why do you limit yourselves to system administration scripting? Don’t you...
on
6 Apr 2007
Blog Post:
How Can I Add a Network Printer at Logon and, Optionally, Make That the Default Printer?
ScriptingGuy1
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 Hey, DB. So, how are … things ….? That’s really some kind of weather we...
on
12 Dec 2006
Blog Post:
How Can I List All the Printers on a Remote Computer?
ScriptingGuy1
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 Scripting Guy who writes this column was asked to speak at a symposium being held as part of a conference...
on
14 Aug 2006
Blog Post:
How Can I Set the Default Printer Based on the IP Address of the Computer?
ScriptingGuy1
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 Scripting Guy who writes this column went to the gym with his 16-year-old son. For the first time ever...
on
19 Jul 2006
Blog Post:
How Can I Remove All the Black-and-White Printers on a Computer?
ScriptingGuy1
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 the throes of a sugar high, joins the Junior Campers. The next morning, realizing what he has done...
on
9 Jan 2006
Blog Post:
How Can I Print Text Files to a Printer Other than the Default Printer?
ScriptingGuy1
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 already “knew” how to solve the problem. We were well aware that the Shell object provides a way...
on
6 Dec 2005
Blog Post:
How Can I Remove All the Local Printers from a Computer?
ScriptingGuy1
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 you? You didn’t? Oh. Well, we’re going to pretend that you did, because this is a very easy task to...
on
1 Dec 2005
Blog Post:
How Can I Retrieve Information About the Printer Driver Used by a Printer?
ScriptingGuy1
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: the Scripting Guys (well, one of them anyway) are in mourning. That’s because the Colt League All...
on
19 Jul 2005
Blog Post:
How Can I Share All the Local Printers on a Computer?
ScriptingGuy1
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 category devoted exclusively to printing. When we started to fill out the archive pages, however...
on
15 Jul 2005
Blog Post:
How Can I Use a Script to Rename a Printer?
ScriptingGuy1
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 rename a printer using a script, at least not using the technologies included in the operating system...
on
8 Jul 2005
Blog Post:
How Can I Print a Test Page to a Printer?
ScriptingGuy1
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 Windows XP includes a method called PrintTestPage . As you might expect, this means you can bind to a...
on
7 Apr 2005
Blog Post:
How Can I Map a Printer, But Only If the User Doesn’t Have a Local Printer?
ScriptingGuy1
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 printer. Is that possible? -- AG Hey, AG. Not only is that possible, but it’s actually pretty easy...
on
13 Jan 2005
Blog Post:
Hey, Scripting Guy! Is There Any Way to Determine the Default Printer On a Computer?
ScriptingGuy1
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 because the WMI class Win32_Printer found on these versions of Windows includes a property named...
on
17 Nov 2004
Blog Post:
How Can I Print Text Files Using a Script?
ScriptingGuy1
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 Microsoft Word installed on that computer. -- MA Hey, MA. Don’t tell anyone from Microsoft we said this...
on
4 Oct 2004
Page 1 of 1 (22 items)