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 ...

To Script, or Not To Script – That is the Question

   Summary: Scripting Guy Ed Wilson talks about the design considerations that govern writing Windows PowerShell scripts.   (image) Hey, Scripting Guy! I am trying to decide when it is best to write a script, and when not to write a script. Can you help me? -- BL   (image) Hello BL, Microsoft Scripting Guy Ed Wilson here. ...

The Number One Rule for Writing Great PowerShell Scripts

   Summary: In this article, Microsoft Scripting Guy Ed Wilson discusses the rules for writing great Windows PowerShell scripts.   (image) Hey, Scripting Guy! I am trying to determine the best way to write my script. This will be my first script, and therefore I want to make sure that I get it right. -- EB   (image) Hello ...