The below power shell function will accept a pipeline object and display it on the command prompt.
> function GetValueFromPipeline {
>> param([Parameter(ValueFromPipeline = $true)] $hello)
>> $hello }
> "Hello!" | GetValueFromPipeline
Hello!
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!