Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Write PowerShell Functions That Accept Pipelined Input

Summary: Learn how to write Windows PowerShell functions that accept pipelined input.   (image) 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...

Learn How to Run PowerShell Scripts Against Multiple Computers

   Summary: Microsoft Scripting Guy Ed Wilson teaches you how to run Windows PowerShell Scripts against multiple computers in this step-by-step article.   (image) Hey, Scripting Guy! I am wondering on the best way to cause my script to work against multiple computers. -- LS   (image) Hello LS, Microsoft Scripting Guy Ed ...

The Function of PowerShell Functions

   Summary: In this how to article, Microsoft Scripting Guy Ed Wilson discusses design considerations for Windows PowerShell functions.   (image) 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 ...