Tag Archives: pipeline

Determine Which Parameters Support Pipeline Input

A question that I had recently was how can a user determine which parameters have support for pipeline input in a cmdlet. The answer lies within the help system of PowerShell. Using the –Parameter parameter of Get-Help, you can view … Continue reading

Posted in powershell | Tagged , , , | Leave a comment

Tips on Implementing Pipeline Support

Something that I was seeing during the first event of the Scripting Games was the use (or misuse) of implementing pipeline support for a parameter in a function or script. While most people did do this correctly, I did see … Continue reading

Posted in 2013 Scripting Games Judges Notes, powershell, Scripting Games 2013 | Tagged , , , | 27 Comments

Quick Hits: Speed Up Some of your Commands by Avoiding the Pipeline

Sometimes running a command using the pipeline can take a while depending on the amount of data that is being processed. For the easiest example, I will make use of Get-Random to demonstrate the differences in speed and how much … Continue reading

Posted in powershell | Tagged , , , , | 1 Comment