Accept pipeline object from a function in Power Shell
The below power shell function will accept a pipeline object and display it on the command prompt. By setting the ValueFromPipeline property of a parameter to true a function can thus accept an object through a pipeline within the PowerShell command prompt!