Showing results for April 2011 - Scripting Blog [archived]

Apr 30, 2011
0
0

Reusing PowerShell Code—What is Best?

ScriptingGuy1
ScriptingGuy1

Summary: In this Weekend Scripter blog, Microsoft Scripting Guy, Ed Wilson, discusses considerations for code reuse. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, is here. It has been really fun these past few weeks reviewing all of the scripts that were submitted for the 2011 Scripting Games. One of the questions I have seen crop up on the...

Scripting Guy!Windows PowerShellscripting techniques
Apr 24, 2011
0
0

Modify the PowerShell ISE to Remove Aliases from Scripts

ScriptingGuy1
ScriptingGuy1

Summary: In this weekend scripter blog, learn how to modify the Windows PowerShell ISE so that it automatically removes aliases from a script. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, here. The PowerShell Deep Dive in Las Vegas, Nevada was a real treat. The Scripting Wife and I both enjoyed meeting all of the people in real life that w...

Scripting Guy!Windows PowerShellWeekend Scripter
Apr 23, 2011
0
0

Use Regular Expression Pattern when Parsing PowerShell Script

ScriptingGuy1
ScriptingGuy1

Summary: Part three in the series about replacing Windows PowerShell aliases with full cmdlet names uses a regular expression pattern and the tokenizer. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, is here. With the final scripts uploaded for the 2011 Scripting Games, the judges are hard at work finishing the grading in preparation for reve...

Scripting Guy!Windows PowerShellscripting techniques
Apr 17, 2011
0
0

Using the PowerShell Tokenizer to Find Commands in Text

ScriptingGuy1
ScriptingGuy1

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use the Windows PowerShell tokenizer to parse text and identify commands. Microsoft Scripting Guy, Ed Wilson, here. There are still five days for you to submit your entries for the 2011 Scripting Games. Events 1 through 5 are in the bag, but you can still upload scripts for events 6 through ...

Scripting Guy!Windows PowerShellscripting techniques
Apr 16, 2011
0
0

Create a Hash Table with PowerShell Aliases and Definitions

ScriptingGuy1
ScriptingGuy1

Summary: In preparation for creating a Windows PowerShell ISE add-on to automatically remove aliases, Scripting Guy Ed Wilson builds a hash table with alias definitions. Microsoft Scripting Guy, Ed Wilson, here. It has finally happened, I unveiled the last event of the 2011 Windows PowerShell Scripting Games on Friday. Contestants still have a week...

Scripting Guy!Windows PowerShellscripting techniques