Showing results for functions - Scripting Blog [archived]

May 28, 2011
0
0

Learn How to Use Description Attributes in PowerShell Functions

ScriptingGuy1
ScriptingGuy1

Summary: Microsoft Scripting Guy, Ed Wilson, teaches you how to use description attributes to enable a quick retrieval of Windows PowerShell functions. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, is here. Well, the 2011 Scripting Games are nearly completely over. “What?” you may ask. “Is there more to come?” Not sp...

Scripting Guy!Windows PowerShellscripting techniques
May 1, 2011
0
0

Best Practice for Using Aliases in PowerShell Scripts

ScriptingGuy1
ScriptingGuy1

Summary: Microsoft Scripting Guy, Ed Wilson, discusses the use of aliases in Windows PowerShell scripts. He covers the pros and cons in this blog. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, is here. “You can have my aliases when you pry my cold dead fingers from my keyboard,” was not one of the emails I received during the 20...

Scripting Guy!Windows PowerShellscripting techniques
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
Dec 31, 2010
0
0

Write PowerShell Functions That Accept Pipelined Input

ScriptingGuy1
ScriptingGuy1

Summary: Learn how to write Windows PowerShell functions that accept pipelined input.   Hey, Scripting Guy! I really like the way that some Windows PowerShell cmdlets enable me to pipeline things to it. I do not understand why some Windows PowerShell cmdlets do not allow me to pipeline stuff to it, or perhaps I am doing it wrong. Anyway, my ...

Scripting Guy!Windows PowerShellscripting techniques
Dec 29, 2010
0
0

The Function of PowerShell Functions

ScriptingGuy1
ScriptingGuy1

   Summary: In this how to article, Microsoft Scripting Guy Ed Wilson discusses design considerations for Windows PowerShell functions.   Hey, Scripting Guy! I am trying to decide how to configure my Windows PowerShell function. I have heard that functions should return objects, but I am thinking that it would be better for my functi...

Scripting Guy!Windows PowerShellscripting techniques