Showing archive results for May 2009

May 26, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! Why Should I Use Windows PowerShell with SQL Server 2008?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I recently saw that SQL Server 2008 has Windows PowerShell built into it. I looked at, but I am not really impressed. Why should I be interested in using Windows PowerShell with SQL Server 2008?- JJ Hi JJ, For some unknown reason, it has turned cool down here in Charlotte, North Carolina, in the United States. Not that Ed is ...

Scripting Guy!Windows PowerShellguest blogger
May 21, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Perform More Than One Action with the Win32_Printer WMI Class?

ScriptingGuy1
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 you have an example of how I might do more tha...

Scripting Guy!Windows PowerShellVBScript
May 20, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Use Windows PowerShell to Remove Old Printer Connections, List Printers, and Set New Default Printers?

ScriptingGuy1
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 the print servers, and the shares have be...

Scripting Guy!Windows PowerShellprinting
May 19, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Use WMI to Add a Printer Connection by Using Windows PowerShell?

ScriptingGuy1
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, but he did not find anything. Therefore, he dug ou...

Scripting Guy!Windows PowerShellprinting
May 18, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Document Printer Usage on Client Workstations?

ScriptingGuy1
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 package that is used to back-charge the departme...

Scripting Guy!Windows PowerShellVBScript