Showing results for July 2009 - Page 2 of 4 - Scripting Blog [archived]

Jul 22, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Speed Up My Windows PowerShell Scripts?

ScriptingGuy1
ScriptingGuy1

 Hey Scripting Guy! I am not sure why you are so excited about Windows PowerShell. It is much slower than VBScript. I am not talking about a little slow; I am talking about orders of magnitude slower. Sure it has some nice cmdlets, but the performance is sucking fumes. -- LMHello LM, It is no secret that Windows PowerShell 1.0 was a bit slow...

Scripting Guy!Windows PowerShellscripting techniques
Jul 21, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Test a Bunch of Scripts and Generate a Report?

ScriptingGuy1
ScriptingGuy1

 Hey Scripting Guy! At our company, we have a lot of Windows PowerShell scripts we use to gather information from various client computers distributed throughout the network. All of these scripts are in a single folder. Recently, several users have been reporting that these scripts are causing them problems, and they have been complaining to m...

Scripting Guy!Windows PowerShellscripting techniques
Jul 16, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Ensure That Users Submit Only Allowed Values for Script Parameters?

ScriptingGuy1
ScriptingGuy1

 I have a script that I wrote for the help desk people. It is actually a pretty cool script because it lets the user of the script type in a WMI class name, and it connects to the remote computer and retrieves all the information from the particular WMI class that they typed. The problem is that some of the help desk people do not always get t...

Scripting Guy!Windows PowerShellscripting techniques
Jul 15, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Verify Input Received from the Command Line?

ScriptingGuy1
ScriptingGuy1

 I am the script writer at my company, and I have really been enjoying your articles on Windows PowerShell. I have begun the process of converting some of our old VBScripts to Windows PowerShell, and all of my new scripts are written in Windows PowerShell. Because I am the only one who writes scripts at my company (in fact, I am the only one w...

Scripting Guy!Windows PowerShellscripting techniques