By Steven Murawski Powershell column for MCP Magazine (Keeping Your Options Open). If you are new to PowerShell, I would definitely recommend reading the article, as provides a nice introduction to the Param statement. Jeffrey recommended to cast your ... Read More
I am trying to write a function which takes pipeline input and input by parameter and handles them in the same way. The idea is that the following two commands have the same output. $a | Test-Input Test-Input -InputObject $a How do I make this happen in my function? I understand the process of both commands...
Filed under: Functions, Advanced Functions, Parameters, Function Parameters
The programmer of a PowerShell script always has a vital source of information - the user. The question is how to get that information from them. Read More