Scripting Blog

A place to learn about PowerShell and share stories of automation

Write PowerShell Functions That Accept Pipelined Input

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

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.   Hey, Scripting Guy! I am wondering on the best way to cause my script to work against multiple computers. -- LS   Hello LS, Microsoft Scripting Guy Ed Wilson here. I ...

The Function of PowerShell Functions

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

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.   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   Hello BL, Microsoft Scripting Guy Ed Wilson here. It is interesting...

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.   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   Hello EB, Microsoft ...

Feedback usabilla icon