I have created a function that has a parameter ComputerName. I use ValueFromPipline=$true, and everything works OK. So I can use the function with a single value or a series of values from the pipeline.
How can I also use a list of values, similar to most CmdLets that have a ComputerName parameter.
I what the function to accept a single value, a list of values or accept values from the pipeline.
I just can't workout the list of values part.